TF-4193 Handle multi click to enable Label visibility feature
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class GettingLabelVisibility extends LoadingState {}
|
||||
|
||||
class GetLabelVisibilitySuccess extends UIState {
|
||||
final bool visible;
|
||||
|
||||
GetLabelVisibilitySuccess(this.visible);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [...super.props, visible];
|
||||
}
|
||||
|
||||
class GetLabelVisibilityFailure extends FeatureFailure {
|
||||
GetLabelVisibilityFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
|
||||
class SavingLabelVisibility extends LoadingState {}
|
||||
|
||||
class SaveLabelVisibilitySuccess extends UIState {}
|
||||
|
||||
class SaveLabelVisibilityFailure extends FeatureFailure {
|
||||
SaveLabelVisibilityFailure(dynamic exception) : super(exception: exception);
|
||||
}
|
||||
Reference in New Issue
Block a user