m3_lightmeter/lib/screens/film_edit/event_film_edit.dart
2024-10-22 18:34:23 +02:00

27 lines
588 B
Dart

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? exponent;
const FilmEditExpChangedEvent(this.exponent);
}
class FilmEditSaveEvent extends FilmEditEvent {
const FilmEditSaveEvent();
}