onPanelSlide property

void Function(double position)? onPanelSlide
final

If non-null, this callback is called as the panel slides around with the current position of the panel. The position is a double between 0.0 and 1.0 where 0.0 is fully collapsed and 1.0 is fully open.

Implementation

final void Function(double position)? onPanelSlide;