FastBannerView constructor
FastBannerView({
- required double height,
- required List banners,
- Callback? onTap,
- double scale = 1.0,
- double viewportFraction = 1.0,
- double radius = 0.0,
- Alignment alignment = Alignment.bottomCenter,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- Color backgroundColor = Colors.transparent,
- bool pagination = true,
- 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,
});