BannerWidget constructor
BannerWidget(List<BannerItem> data, { int duration: 2000, double height: 200.0, Color selectedColor: Colors.red, Color unSelectedColor: Colors.white, OnBannerItemClick onBannerItemClick, CustomBuild build, Color descriptionBackgroundColor: const Color(0x33000000), InfoDirect textInfoDirect: InfoDirect.HORIZONTAL, double circleRadius: 5.0, IndicatorStyle indicatorStyle: IndicatorStyle.CIRCLE, double ellipticalWidth: 16.0, double ellipticalHeight: 8.0, double cornerRadius: 10.0 })
Implementation
BannerWidget(this.data,
{this.duration: 2000,
this.height: 200.0,
this.selectedColor: Colors.red,
this.unSelectedColor: Colors.white,
this.onBannerItemClick,
this.build,
this.descriptionBackgroundColor: const Color(0x33000000),
this.textInfoDirect: InfoDirect.HORIZONTAL,
this.circleRadius: 5.0,
this.indicatorStyle: IndicatorStyle.CIRCLE,
this.ellipticalWidth: 16.0,
this.ellipticalHeight: 8.0,
this.cornerRadius: 10.0})
: assert(data != null);