CCheckboxController class

Controller for managing the state of a checkbox.

Constructors

CCheckboxController({bool? initialValue})
Constructs a CCheckboxController with an optional initial value.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<bool>
Retrieves the stream of boolean values representing the state of the checkbox.
no setter
value bool
Retrieves the current value of the checkbox.
no setter

Methods

add(bool value) → void
Adds a new value to the checkbox state.
dispose() → void
Disposes the controller.
listen(void onData(bool)) → void
Listens for changes in the checkbox state.
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