GetXAdMaterialApp constructor

const GetXAdMaterialApp({
  1. Key? key,
  2. required Route routeBuilder(
    1. RouteSettings settings
    ),
  3. required List<String> jsonUrl,
  4. dynamic onInitComplete(
    1. BuildContext ctx,
    2. Map mainJson
    )?,
  5. bool initAdNetworks = true,
  6. ThemeData? theme,
  7. ThemeData? darkTheme,
  8. List<String>? servers,
  9. String title = "",
  10. bool forceTest = false,
  11. LoaderConfigration loaderConfigration = const LoaderConfigration(),
  12. 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);