2024-05-31 17:01:48 +05:30
|
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
|
|
|
|
|
|
abstract class CheckBoxState extends Equatable {
|
|
|
|
|
const CheckBoxState();
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
List<Object> get props => [];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class CheckboxUnchecked extends CheckBoxState {}
|
|
|
|
|
|
|
|
|
|
class CheckboxChecked extends CheckBoxState {}
|
2024-06-06 18:40:58 +05:30
|
|
|
|
|
|
|
|
class CheckboxError extends CheckBoxState {
|
|
|
|
|
final String message;
|
|
|
|
|
|
|
|
|
|
const CheckboxError(this.message);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
List<Object> get props => [message];
|
|
|
|
|
}
|