nc-photos/app/lib/widget/settings/misc/state_event.dart
Ming Ming 528699d7c5 Remove sort Photos tab by filename option
This is no longer supported in the revamped code
2024-05-07 00:33:10 +08:00

39 lines
585 B
Dart

part of '../misc_settings.dart';
@genCopyWith
@toString
class _State {
const _State({
required this.isDoubleTapExit,
this.error,
});
@override
String toString() => _$toString();
final bool isDoubleTapExit;
final ExceptionEvent? error;
}
abstract class _Event {
const _Event();
}
@toString
class _Init implements _Event {
const _Init();
@override
String toString() => _$toString();
}
@toString
class _SetDoubleTapExit implements _Event {
const _SetDoubleTapExit(this.value);
@override
String toString() => _$toString();
final bool value;
}