onCheckFailed property

(void Function(BuildContext context, BeamLocation<BeamState> location)?) onCheckFailed
getter/setter pair

Arbitrary closure to execute when check fails.

This will run before and regardless of beamTo, beamToNamed, showPage.

Implementation

void Function(BuildContext context, BeamLocation location)? onCheckFailed;