Skip to main content

BottomSheetDragEndHandler

Type Alias BottomSheetDragEndHandler 

Source
pub type BottomSheetDragEndHandler = Rc<dyn Fn(&mut App, DragEndDetails, bool)>;
Expand description

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

The bool is Dart’s named isClosing.

Used by BottomSheet::on_drag_end.

Aliased Type§

pub struct BottomSheetDragEndHandler { /* private fields */ }