BootstrapBuilder typedef
BootstrapBuilder =
Widget Function(BuildContext context, void complete(bool))
The bootstrap builder should return a widget that
will be displayed while the bootstrap process is
running. The builder should call the complete
callback when the bootstrap process is complete
for the current bootstrap target.
Implementation
typedef BootstrapBuilder = Widget Function(
BuildContext context,
// A callback to signal that the bootstrap process
// is complete. If called with true then the bootstrap
// process will continue to the next bootstrap target.
// If called with false then the bootstrap process
// will be aborted and marked as complete.
void Function(bool) complete,
);