onSnap property

void Function(SheetState, double? snap)? onSnap
final

A callback function that gets called when the SlidingSheet snaps to an extent.

Implementation

final void Function(SheetState, double? snap)? onSnap;