CycleBanner constructor
CycleBanner(
- List _list,
- IndexedWidgetBuilder _itemBuilder, {
- Color normalColor = Colors.grey,
- Color currentColor = Colors.blue,
- double indicatorSize = 10,
- EdgeInsetsGeometry indicatorMargin = const EdgeInsets.only(bottom: 10),
- AlignmentDirectional indicatorAlignment = AlignmentDirectional.bottomCenter,
- double bannerHeight = 200,
- double separatorSize = 5,
- bool isAutoRolling = true,
- bool isCycleRolling = true,
- Duration intervalDuration = const Duration(milliseconds: 2500),
- Duration animationDuration = const Duration(milliseconds: 500),
Implementation
CycleBanner(this._list, this._itemBuilder, {this.normalColor: Colors.grey, this.currentColor: Colors.blue, this.indicatorSize = 10, this.indicatorMargin = const EdgeInsets.only(bottom: 10), this.indicatorAlignment = AlignmentDirectional.bottomCenter, this.bannerHeight = 200, this.separatorSize = 5, this.isAutoRolling = true, this.isCycleRolling = true, this.intervalDuration = const Duration(milliseconds: 2500), this.animationDuration = const Duration(milliseconds: 500)});