A beautiful circular dial timer widget for Flutter.
Easily select a time (in minutes) by dragging around a circular dial UI.
Add the following line to your pubspec.yaml
:
dependencies:
dial_timer: ^0.0.1
import 'package:dial_timer/dial_timer.dart';
CircularTimer(
onMinutesChanged: (minutes) {
print('$minutes minutes selected');
},
)
- Circular draggable timer UI
- Select from 1 to 60 minutes easily
- Customize draggable ability
- Break time mode styling (isBreakTime: true)
A full working example is available in the example/ folder.
cd example
flutter run