DynamicZoneWidget constructor

const DynamicZoneWidget({
  1. Key? key,
  2. required String bannerName,
  3. required BannerSize bannerSize,
  4. double? width,
  5. double? height,
  6. Duration autoScrollInterval = const Duration(seconds: 5),
  7. bool enableAutoScroll = true,
  8. Color? dotIndicatorActiveColor,
  9. Color? dotIndicatorInactiveColor,
  10. BannerCallback? onError,
  11. 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);