CrabFlightShuttleBuilder typedef

CrabFlightShuttleBuilder = Widget Function(BuildContext flightContext, Animation<double> animation, BeachTransitionDirection direction, BuildContext fromCrabContext, BuildContext? toCrabContext)

A function that lets Crabs self supply a Widget that is shown during the crabs's walk from one beach to another instead of default (which is to show the destination beach's instance of the Crab).

Implementation

typedef CrabFlightShuttleBuilder = Widget Function(
  BuildContext flightContext,
  Animation<double> animation,
  BeachTransitionDirection direction,
  BuildContext fromCrabContext,
  BuildContext? toCrabContext,
);