BottomSheetDragEndHandler typedef Null safety

BottomSheetDragEndHandler = void Function(DragEndDetails details, {required bool isClosing})

A callback for when the user stops dragging the bottom sheet.

Used by BottomSheet.onDragEnd.

Implementation

typedef BottomSheetDragEndHandler = void Function(
  DragEndDetails details, {
  required bool isClosing,
});