StreamSheetDragEndCallback typedef

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

Called when the user stops dragging a StreamSheetRoute.

The sheet may pop in response to the gesture (in which case isClosing is true), or animate back to its open position.

Implementation

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