CheckboxState<T> class

Encapsulates checkbox field state into a single object.

Constructors

CheckboxState(List<CheckboxOption<T>> options, List<T>? checkedValues, void onChanged(T value, bool checked)?, FocusNode focusNode)
const

Properties

checkedValues List<T>?
final
focusNode FocusNode
final
hashCode int
The hash code for this object.
no setterinherited
onChanged → (void Function(T value, bool checked)?)
final
options List<CheckboxOption<T>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited