m3_lightmeter/lib/screens/metering/event_metering.dart

36 lines
750 B
Dart
Raw Normal View History

import 'package:lightmeter/models/iso_value.dart';
import 'package:lightmeter/models/nd_value.dart';
import 'package:lightmeter/models/photography_value.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);
}
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);
}