22 lines
424 B
Dart
22 lines
424 B
Dart
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 {}
|
|
|
|
class CheckboxError extends CheckBoxState {
|
|
final String message;
|
|
|
|
const CheckboxError(this.message);
|
|
|
|
@override
|
|
List<Object> get props => [message];
|
|
}
|