Skip to content

haokicode/a_test_project

Repository files navigation

Flutter Counter App - Extended Features

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.

✨ Features

  • 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 SnackBar notification 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.

🚀 Getting Started

This project is a starting point for a Flutter application.

Prerequisites

Installation

  1. Clone the repository

  2. Install Flutter dependencies

  3. Run the Flutter app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published