This repository contains a very small Flutter starter project for a workout timer app. The app provides a basic example of how to implement an interval timer in Flutter.
- Flutter SDK installed on your machine.
After installation, run
flutter doctorto ensure your environment is ready.
-
Clone this repository.
-
Run
flutter create .from the project directory to generate platform-specific files for Android and iOS. This command will not overwrite existing files such aslib/main.dart. -
Fetch dependencies:
flutter pub get
-
Run the app on a device or simulator:
flutter run
The provided code in lib/main.dart implements a simple timer that switches
between "WORK" and "REST" states every 30 seconds. You can customize the
interval logic to suit your workouts.
This project is intended as a starting point for learning Flutter. Feel free to extend it with features such as configurable intervals, sounds, or saving workout presets.