AzListView constructor

AzListView({
  1. Key? key,
  2. required List<ISuspensionBean> data,
  3. required int itemCount,
  4. required IndexedWidgetBuilder itemBuilder,
  5. ItemScrollController? itemScrollController,
  6. ItemPositionsListener? itemPositionsListener,
  7. ScrollPhysics? physics,
  8. EdgeInsets? padding,
  9. IndexedWidgetBuilder? susItemBuilder,
  10. double susItemHeight = kSusItemHeight,
  11. Offset? susPosition,
  12. IndexHintBuilder? indexHintBuilder,
  13. List<String> indexBarData = kIndexBarData,
  14. double indexBarWidth = kIndexBarWidth,
  15. double? indexBarHeight,
  16. double indexBarItemHeight = kIndexBarItemHeight,
  17. bool hapticFeedback = false,
  18. AlignmentGeometry indexBarAlignment = Alignment.centerRight,
  19. EdgeInsetsGeometry? indexBarMargin,
  20. IndexBarOptions indexBarOptions = const IndexBarOptions(),
})

Implementation

AzListView({
  Key? key,
  required this.data,
  required this.itemCount,
  required this.itemBuilder,
  this.itemScrollController,
  this.itemPositionsListener,
  this.physics,
  this.padding,
  this.susItemBuilder,
  this.susItemHeight = kSusItemHeight,
  this.susPosition,
  this.indexHintBuilder,
  this.indexBarData = kIndexBarData,
  this.indexBarWidth = kIndexBarWidth,
  this.indexBarHeight,
  this.indexBarItemHeight = kIndexBarItemHeight,
  this.hapticFeedback = false,
  this.indexBarAlignment = Alignment.centerRight,
  this.indexBarMargin,
  this.indexBarOptions = const IndexBarOptions(),
}) : super(key: key);