PanelController class Null safety

Constructors

PanelController()

Properties

animation Animation?
ValueListenable panel animation. when panel drag or call open/close/expand, notifier listeners.
read-only
defaultPanelSize double
return defaultPanelSize
read-only
hashCode int
The hash code for this object.
read-onlyinherited
isAttached bool
PanelController need attach _ScrollablePanelState.
read-only
isClose bool
return true if panel state is PanelState.close
read-only
isExpand bool
return true if panel state is PanelState.expand
read-only
isOpen bool
return true if panel state is PanelState.open
read-only
maxPanelSize double
return maxPanelSize
read-only
minPanelSize double
return minPanelSize
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addState(ScrollablePanelState state) → void
animateTo(double to) Future<void>
animate panel height to passed value
close() Future<void>
animate panel height to minPanelSize
expand() Future<void>
animate panel height to maxPanelSize
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
open() Future<void>
alias toDefault
toDefault() Future<void>
animate panel height to defaultPanelSize
toString() String
A string representation of this object.
inherited

Operators

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