2022-12-18 09:03:41 +00:00
|
|
|
import 'package:lightmeter/data/models/photography_values/iso_value.dart';
|
|
|
|
import 'package:lightmeter/data/models/photography_values/nd_value.dart';
|
|
|
|
import 'package:lightmeter/data/models/photography_values/photography_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-11 14:04:08 +00:00
|
|
|
class StopTypeChangedEvent extends MeteringEvent {
|
|
|
|
final StopType stopType;
|
|
|
|
|
|
|
|
const StopTypeChangedEvent(this.stopType);
|
|
|
|
}
|
|
|
|
|
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();
|
|
|
|
}
|
2022-12-14 17:33:38 +00:00
|
|
|
|
|
|
|
class MeasuredEvent extends MeteringEvent {
|
|
|
|
final double ev100;
|
|
|
|
|
|
|
|
const MeasuredEvent(this.ev100);
|
|
|
|
}
|