A simple Flutter Todo application that demonstrates the usage of ObjectBox for local data persistence, InheritedWidget for managing state across widgets efficiently, and ChangeNotifier for handling state changes.
- Add, edit, and delete tasks
- Local data persistence using ObjectBox
- Efficient state management with InheritedWidget and ChangeNotifier
These instructions will help you set up and run the project on your local machine for development and testing purposes.
-
Clone the repository to your local machine:
git clone https://github.com/amalrajkp18/flutter-todo-app
-
Navigate to the project directory:
cd flutter-todo-app
-
Install dependencies:
flutter pub get
Run the app on an emulator or a physical device:
flutter run
- lib/: Contains the Dart source code for the Flutter application.
- models/: Define the data models
- controller/: Implement services like ObjectBox database and task management.
- view/: Contains different screens of the application.
/widgets: Reusable widgets used across the app. - main.dart: Entry point of the application.
- google_fonts: ^6.1.0
- intl: ^0.19.0
- objectbox: ^2.4.0
- objectbox_flutter_libs: ^2.4.0
- path_provider: ^2.1.2
- build_runner: ^2.4.8
- flutter_lints: ^2.0.0
- objectbox_generator: ^2.4.0