AdGridView constructor

const AdGridView({
  1. Key? key,
  2. EdgeInsets? padding,
  3. bool showAds = true,
  4. int? specificIndex,
  5. required List items,
  6. double height = 1.7,
  7. required Widget onRender(
    1. BuildContext context,
    2. int index,
    3. dynamic value
    ),
  8. required BuildContext parentContext,
  9. int mobileCount = 2,
  10. int tabletCount = 3,
})

Implementation

const AdGridView({
  Key? key,
  this.padding,
  this.showAds = true,
  this.specificIndex,
  required this.items,
  this.height = 1.7,
  required this.onRender,
  required this.parentContext,
  this.mobileCount = 2,
  this.tabletCount = 3,
}) : super(key: key);