m3_lightmeter/lib/screens/film_edit/event_film_edit.dart

28 lines
577 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 {
final double exp;
const FilmEditExpChangedEvent(this.exp);
}
class FilmEditSaveEvent extends FilmEditEvent {
const FilmEditSaveEvent();
}