This is a Flutter project that builds upon the standard "counter" app to include several new features and UI enhancements. It's a great example for beginners learning about state management, conditional UI, and widget testing in Flutter.
- Increment & Decrement: The app allows the user to increase and decrease the counter.
- Non-Negative Counter: The counter value is prevented from going below zero.
- Milestone Notifications: A
SnackBarnotification appears every time the counter reaches a multiple of 25 (e.g., 25, 50, 75...). - Conditional UI: A "Reset" button automatically appears next to the counter when the value reaches 100, allowing the user to reset the count to zero.
- Clean Code: The project is structured with clean code principles, making it easy to read and maintain.
- Widget Tests: The project includes a comprehensive suite of widget tests to verify that all features work correctly.
This project is a starting point for a Flutter application.
-
Clone the repository
-
Install Flutter dependencies
-
Run the Flutter app