m3_lightmeter/lib/screens/film_edit/event_film_edit.dart

32 lines
672 B
Dart
Raw Permalink Normal View History

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();
}
class FilmEditDeleteEvent extends FilmEditEvent {
const FilmEditDeleteEvent();
}