DynamicZoneWidget constructor
const
DynamicZoneWidget({
- Key? key,
- required String bannerName,
- required BannerSize bannerSize,
- double? width,
- double? height,
- Duration autoScrollInterval = const Duration(seconds: 5),
- bool enableAutoScroll = true,
- Color? dotIndicatorActiveColor,
- Color? dotIndicatorInactiveColor,
- BannerCallback? onError,
- VoidCallback? onBannerLoaded,
Implementation
const DynamicZoneWidget({
Key? key,
required this.bannerName,
required this.bannerSize,
this.width,
this.height,
this.autoScrollInterval = const Duration(seconds: 5),
this.enableAutoScroll = true,
this.dotIndicatorActiveColor,
this.dotIndicatorInactiveColor,
this.onError,
this.onBannerLoaded,
}) : super(key: key);