FastBannerView constructor

FastBannerView({
  1. required double height,
  2. required List banners,
  3. Callback? onTap,
  4. double scale = 1.0,
  5. double viewportFraction = 1.0,
  6. double radius = 0.0,
  7. Alignment alignment = Alignment.bottomCenter,
  8. EdgeInsetsGeometry padding = EdgeInsets.zero,
  9. Color backgroundColor = Colors.transparent,
  10. bool pagination = true,
  11. ValueChanged<int>? onIndexChanged,
})

Implementation

FastBannerView({
  required this.height,
  required this.banners,
  this.onTap,
  this.scale = 1.0,
  this.viewportFraction = 1.0,
  this.radius = 0.0,
  this.alignment = Alignment.bottomCenter,
  this.padding = EdgeInsets.zero,
  this.backgroundColor = Colors.transparent,
  this.pagination = true,
  this.onIndexChanged,
});