m3_lightmeter/lib/screens/film_edit/event_film_edit.dart

32 lines
672 B
Dart
Raw Normal View History

2024-10-21 10:22:25 +00:00
import 'package:m3_lightmeter_resources/m3_lightmeter_resources.dart';
sealed class FilmEditEvent {
const FilmEditEvent();
}
class FilmEditNameChangedEvent extends FilmEditEvent {
final String name;
const FilmEditNameChangedEvent(this.name);
}
class FilmEditIsoChangedEvent extends FilmEditEvent {
final IsoValue iso;
const FilmEditIsoChangedEvent(this.iso);
}
class FilmEditExpChangedEvent extends FilmEditEvent {
2024-10-22 16:34:23 +00:00
final double? exponent;
2024-10-21 10:22:25 +00:00
2024-10-22 16:34:23 +00:00
const FilmEditExpChangedEvent(this.exponent);
2024-10-21 10:22:25 +00:00
}
class FilmEditSaveEvent extends FilmEditEvent {
const FilmEditSaveEvent();
}
2024-10-25 11:01:37 +00:00
class FilmEditDeleteEvent extends FilmEditEvent {
const FilmEditDeleteEvent();
}