ChobiAdWidget constructor
const
ChobiAdWidget({
- Key? key,
- required FutureOr<
Ad?> adBuilder(- ChobiAdState adState
- StateProvider<
ChobiAdState> ? adStateProvider, - StateProvider<
Ad?> ? adProvider, - List<
String> ? testDeviceIds, - List<
String> ? umpTestDeviceIds, - bool isDebugMode = true,
- void onConsentCheckFinished(
- ConsentStatus status
- void onConsentError(
- FormError err
Implementation
const ChobiAdWidget({
super.key,
required this.adBuilder,
this.adStateProvider,
this.adProvider,
this.testDeviceIds,
this.umpTestDeviceIds,
this.isDebugMode = true,
this.onConsentCheckFinished,
this.onConsentError,
});