onDragEnd property Null safety

BottomSheetDragEndHandler? onDragEnd
final

Called when the user stops dragging the bottom sheet, if enableDrag is true.

Would typically be used to reset the bottom sheet animation curve, so that it animates non-linearly. Called before onClosing if the bottom sheet is closing.

Implementation

final BottomSheetDragEndHandler? onDragEnd;