m3_lightmeter/lib/screens/metering/event_metering.dart

40 lines
840 B
Dart
Raw Permalink Normal View History

import 'package:m3_lightmeter_resources/m3_lightmeter_resources.dart';
2022-12-04 19:00:43 +00:00
2022-10-29 18:02:45 +00:00
abstract class MeteringEvent {
const MeteringEvent();
}
class StopTypeChangedEvent extends MeteringEvent {
final StopType stopType;
const StopTypeChangedEvent(this.stopType);
}
class EquipmentProfileChangedEvent extends MeteringEvent {
final EquipmentProfileData equipmentProfileData;
const EquipmentProfileChangedEvent(this.equipmentProfileData);
}
2022-12-04 19:00:43 +00:00
class IsoChangedEvent extends MeteringEvent {
final IsoValue isoValue;
const IsoChangedEvent(this.isoValue);
}
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();
}
class MeasuredEvent extends MeteringEvent {
final double ev100;
const MeasuredEvent(this.ev100);
}