m3_lightmeter/lib/screens/timer/state_timer.dart

19 lines
336 B
Dart
Raw Normal View History

2024-04-30 14:32:01 +00:00
import 'package:flutter/material.dart';
@immutable
2024-04-30 19:50:09 +00:00
sealed class TimerState {
const TimerState();
2024-04-30 14:32:01 +00:00
}
2024-04-30 19:50:09 +00:00
class TimerStoppedState extends TimerState {
const TimerStoppedState();
2024-04-30 14:32:01 +00:00
}
2024-04-30 19:50:09 +00:00
class TimerResumedState extends TimerState {
const TimerResumedState();
2024-04-30 14:32:01 +00:00
}
2024-04-30 20:45:46 +00:00
class TimerResetState extends TimerStoppedState {
const TimerResetState();
2024-04-30 20:45:46 +00:00
}