mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-25 08:50:40 +00:00
32 lines
672 B
Dart
32 lines
672 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();
|
||
|
}
|
||
|
|
||
|
class FilmEditDeleteEvent extends FilmEditEvent {
|
||
|
const FilmEditDeleteEvent();
|
||
|
}
|