snapping property

PanelSnapping snapping
final

Apply snapping effect to panel while opening / closing.

i.e., If the user is swiping the panel and leaves panel in any position between PanelState.closed and PanelState.expanded, it will be animated to the NEAREST PanelState.

For two-state panels, PanelState.collapsed is not used.

Default : PanelSnapping.disabled

Implementation

final PanelSnapping snapping;