GetXAdMaterialApp constructor
const
GetXAdMaterialApp({
- Key? key,
- required Route routeBuilder(
- RouteSettings settings
- required List<
String> jsonUrl, - dynamic onInitComplete(
- BuildContext ctx,
- Map mainJson
- bool initAdNetworks = true,
- ThemeData? theme,
- ThemeData? darkTheme,
- List<
String> ? servers, - String title = "",
- bool forceTest = false,
- LoaderConfigration loaderConfigration = const LoaderConfigration(),
- required Widget splashScreen,
Implementation
const GetXAdMaterialApp({
Key? key,
required this.routeBuilder,
required this.jsonUrl,
this.onInitComplete,
this.initAdNetworks = true,
this.theme,
this.darkTheme,
this.servers,
this.title = "",
this.forceTest = false,
this.loaderConfigration = const LoaderConfigration(),
required this.splashScreen,
}) : super(key: key);