CDropdownController<T> class

Controller for managing the state of a CDropdown.

Constructors

CDropdownController({T? initialValue})
Constructs a CDropdownController 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<T?>
Retrieves the stream of boolean values representing the state of the dropdown.
no setter
value → T?
Retrieves the current value of the dropdown.
no setter

Methods

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