onBackgroundTap property
Called whenever the user taps inside the overlay area.
This function needs to return a bool, either from an async
scope
or as a Future.
If the function returns false
, nothing happens. If it returns true
,
all of the current steps are dismissed.
Implementation
final Future<bool> Function()? onBackgroundTap;