ChobiAdWidget constructor

const ChobiAdWidget({
  1. Key? key,
  2. required FutureOr<Ad?> adBuilder(
    1. ChobiAdState adState
    ),
  3. StateProvider<ChobiAdState>? adStateProvider,
  4. StateProvider<Ad?>? adProvider,
  5. List<String>? testDeviceIds,
  6. List<String>? umpTestDeviceIds,
  7. bool isDebugMode = true,
  8. void onConsentCheckFinished(
    1. ConsentStatus status
    )?,
  9. void onConsentError(
    1. 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,
});