AppRunner typedef
AppRunner =
void Function(Widget app)
A function that takes a Widget and runs the application.
This is responsible for:
- Calling WidgetsFlutterBinding.ensureInitialized (or a custom binding initialization)
- Running the app (e.g., flutter.runApp or a custom runner like
runAppScaled)
See defaultAppRunner for the standard implementation.
Implementation
typedef AppRunner = void Function(Widget app);