mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-09 02:36:31 +01:00
29 lines
434 B
Dart
29 lines
434 B
Dart
|
part of 'place_picker.dart';
|
||
|
|
||
|
@genCopyWith
|
||
|
@toString
|
||
|
class _State {
|
||
|
const _State({
|
||
|
this.position,
|
||
|
});
|
||
|
|
||
|
factory _State.init() => const _State();
|
||
|
|
||
|
@override
|
||
|
String toString() => _$toString();
|
||
|
|
||
|
final CameraPosition? position;
|
||
|
}
|
||
|
|
||
|
abstract class _Event {}
|
||
|
|
||
|
@toString
|
||
|
class _SetPosition implements _Event {
|
||
|
const _SetPosition(this.value);
|
||
|
|
||
|
@override
|
||
|
String toString() => _$toString();
|
||
|
|
||
|
final CameraPosition value;
|
||
|
}
|