CycleBanner constructor

CycleBanner(
  1. List _list,
  2. IndexedWidgetBuilder _itemBuilder, {
  3. Color normalColor = Colors.grey,
  4. Color currentColor = Colors.blue,
  5. double indicatorSize = 10,
  6. EdgeInsetsGeometry indicatorMargin = const EdgeInsets.only(bottom: 10),
  7. AlignmentDirectional indicatorAlignment = AlignmentDirectional.bottomCenter,
  8. double bannerHeight = 200,
  9. double separatorSize = 5,
  10. bool isAutoRolling = true,
  11. bool isCycleRolling = true,
  12. Duration intervalDuration = const Duration(milliseconds: 2500),
  13. 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)});