mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
21 lines
383 B
Dart
21 lines
383 B
Dart
sealed class TimerEvent {
|
|
const TimerEvent();
|
|
}
|
|
|
|
class StartTimerEvent extends TimerEvent {
|
|
const StartTimerEvent();
|
|
}
|
|
|
|
class StopTimerEvent extends TimerEvent {
|
|
const StopTimerEvent();
|
|
}
|
|
|
|
class SetTimeLeftEvent extends TimerEvent {
|
|
final Duration timeLeft;
|
|
|
|
const SetTimeLeftEvent(this.timeLeft);
|
|
}
|
|
|
|
class ResetTimerEvent extends TimerEvent {
|
|
const ResetTimerEvent();
|
|
}
|