onStatusChanged property

OnSlidingUpPanelStatusChanged? onStatusChanged
final

Called when the bottom sheet begins to close.

The panel might be prevented from closing (e.g., by user interaction) even after this callback is called. For this reason, this callback might be call multiple times for a given bottom sheet.

Implementation

final OnSlidingUpPanelStatusChanged? onStatusChanged;