currentPosition property
double
currentPosition
Get current position of the panel.
Returns between PanelSize.closedHeight and PanelSize.expandedHeight.
Returns 0.0 if panel is PanelState.dismissed.
Implementation
double get currentPosition =>
controlling ? panel!._metadata.currentHeight : 0.0;