Crecex10Advertising constructor

Crecex10Advertising({
  1. required int id,
  2. int width = 320,
  3. int height = 100,
  4. BoxDecoration? boxDecoration,
  5. double borderRadius = 0,
  6. TextStyle? textStyle,
  7. bool showCloseButton = false,
  8. bool showAdLabel = true,
  9. Duration adsIntervals = const Duration(seconds: 10),
})

Recomended size 300x250, 728x90, 320x100, 300x300

Implementation

Crecex10Advertising(
    {required this.id,
    this.width = 320,
    this.height = 100,
    this.boxDecoration,
    this.borderRadius = 0,
    this.textStyle,
    this.showCloseButton = false,
    this.showAdLabel = true,
    this.adsIntervals = const Duration(seconds: 10)})
    : assert(adsIntervals >= Duration(seconds: 3));