FastVideoNativeAd constructor

FastVideoNativeAd({
  1. Key? key,
  2. FastAdSize adSize = FastAdSize.large,
  3. required String videoUrl,
  4. String? descriptionText,
  5. VoidCallback? onButtonTap,
  6. String? debugLabel,
  7. String? buttonText,
  8. String? titleText,
  9. double? rating,
  10. bool loading = false,
})

Implementation

FastVideoNativeAd({
  super.key,
  this.adSize = FastAdSize.large,
  required this.videoUrl,
  this.descriptionText,
  this.onButtonTap,
  this.debugLabel,
  this.buttonText,
  this.titleText,
  this.rating,
  this.loading = false,
}) : assert(adSize >= FastAdSize.medium);