2022-12-04 19:12:52 +00:00
|
|
|
import 'package:lightmeter/models/iso_value.dart';
|
|
|
|
import 'package:lightmeter/models/nd_value.dart';
|
2022-12-04 19:00:43 +00:00
|
|
|
|
2022-10-29 18:02:45 +00:00
|
|
|
abstract class MeteringEvent {
|
|
|
|
const MeteringEvent();
|
|
|
|
}
|
|
|
|
|
2022-12-04 19:00:43 +00:00
|
|
|
class IsoChangedEvent extends MeteringEvent {
|
|
|
|
final IsoValue isoValue;
|
|
|
|
|
|
|
|
const IsoChangedEvent(this.isoValue);
|
|
|
|
}
|
|
|
|
|
2022-12-04 19:12:52 +00:00
|
|
|
class NdChangedEvent extends MeteringEvent {
|
|
|
|
final NdValue ndValue;
|
|
|
|
|
|
|
|
const NdChangedEvent(this.ndValue);
|
|
|
|
}
|
|
|
|
|
2022-10-29 18:02:45 +00:00
|
|
|
class MeasureEvent extends MeteringEvent {
|
|
|
|
const MeasureEvent();
|
|
|
|
}
|