PanelController class

Constructors

PanelController()

Properties

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

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 nonexistent 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