This Flutter app is based on Pomodoro Technique.
Pomodoro technique is time management technique to increase work efficiency. It works by the principle of working for a certain period of time and then taking rest for few minutes.
More about it: https://en.wikipedia.org/wiki/Pomodoro_Technique
The work session starts on hitting the start and continues for 25 minutes. There will be a notification after the work time ends. This denotes you can now take rest.
The rest time starts on clicking the button. After the rest period, there will be a notification alert to start the work.
Lets call this one cycle - work+rest After 2 such cycles, there will be a long rest.
and this continues.
change the timings for work and rest, in pomodoro_timer.dart file.
const int kWorkDuration = 5; // 5 sec
const int kRestDuration = 2; // 2 sec
const int kLongRestDuration = 3; // 3 sec
const int kLongRestInterval = 2; // 2 short rest and then 1 long rest
This project is a starting point for a Flutter application.
- Well organised widget function
- Sample to organise the style features
- Add local notification, with sound alert
- Inbuilt Timer
- Take user input to set the work and rest duration
- Take user input to define the work and rest cycle
- Take user input for long rest duration
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Tutorial reference for this app.