onDragStart property

Function? onDragStart
final

Gives the app an opportunity to confirm or veto a pending dismissal.

If the returned Future

If the returned Future<bool?> completes to false or null the onResize and onDismissed callbacks will not run.

Implementation

final Function? onDragStart;