CNFloatingIslandController class
Controller for imperatively managing CNFloatingIsland state.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpanded → bool
-
Whether the floating island is currently expanded.
no setter
- onExpandChanged ← VoidCallback?
-
Listen to expand/collapse state changes.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
collapse(
{bool animated = true}) → Future< void> - Collapses the floating island back to compact mode.
-
expand(
{bool animated = true}) → Future< void> - Expands the floating island to show expanded content.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toggle(
{bool animated = true}) → Future< void> - Toggles between expanded and collapsed states.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited