GdprScreenManager constructor
GdprScreenManager(
- List<
String> bannerIds = const [], - List<
String> interstitialIds = const [], - List<
String> interRewardIds = const [], - List<
String> debugTestDeviceIds = const [], - Widget loadingWidget = const Center(child: CircularProgressIndicator()),
- GdprDebugGeography debugGeography = GdprDebugGeography.disabled,
- bool debugShowDebugUI = false,
Initializes this singleton
Implementation
factory GdprScreenManager(
final Function(BuildContext) onNavigationMethod, {
final List<String> bannerIds = const [],
final List<String> interstitialIds = const [],
final List<String> interRewardIds = const [],
final List<String> debugTestDeviceIds = const [],
final Widget loadingWidget =
const Center(child: CircularProgressIndicator()),
final GdprDebugGeography debugGeography = GdprDebugGeography.disabled,
final bool debugShowDebugUI = false,
}) =>
_singleton
.._onNavigationMethod = onNavigationMethod
.._bannerIds = bannerIds
.._interstitialIds = interstitialIds
.._interRewardIds = interRewardIds
.._loadingWidget = loadingWidget
.._debugTestDeviceIds = debugTestDeviceIds
.._debugGeography = debugGeography
.._showDebugUI = debugShowDebugUI;