MealApp is a Flutter-based mobile application developed to help users find and organize meal recipes. This project was undertaken as a learning exercise to understand how to navigate through different pages in Flutter and to implement state management using Riverpod.
In this project, I learned how to:
- Navigate through different pages using Flutter's
Navigator
andRoutes
. - Implement state management using Riverpod.
Flutter's Navigator
is used to move between different pages (or screens) in the app. This involves pushing and popping routes off the navigation stack. I learned how to:
- Define routes in the
MaterialApp
widget. - Use
Navigator.push
to navigate to a new page. - Use
Navigator.pop
to return to the previous page.
Riverpod is a provider-based state management solution for Flutter. It is designed to be a simpler, more robust alternative to Provider. Through this project, I learned how to:
- Set up Riverpod in a Flutter project.
- Create and use providers to manage state.
- Use
ConsumerWidget
andConsumer
to listen to and react to state changes.
To get a local copy up and running, follow these steps.
- Flutter: Installation Guide
- Git: Installation Guide
git clone https://github.com/aniket2125ec1117/MealApp.git
cd MealApp
### Explanation of the Sections:
1. **Description**: Briefly explain what you learned in the project, focusing on navigation and Riverpod.
2. **Installation**: Provide steps to set up the project locally.
3. **License**: Specify the license under which the project is distributed.
4. **Contact**: Provide your contact information.
This version of the README focuses on the learning outcomes related to navigation and Riverpod, as you requested.