AppBuilder typedef
AppBuilder =
Widget Function(VyuhPlatform platform)
A builder for root Widget of the application. Typically this would be a MaterialApp or CupertinoApp.
This builder is called once during app initialization to create the root widget.
The platform
parameter provides access to the Vyuh platform instance.
Example:
AppBuilder builder = (platform) => MaterialApp(
home: MyHomePage(),
theme: platform.theme,
);
Implementation
typedef AppBuilder = Widget Function(VyuhPlatform platform);