AzListView constructor
AzListView({
- Key? key,
- required List<
ISuspensionBean> data, - required int itemCount,
- required IndexedWidgetBuilder itemBuilder,
- ItemScrollController? itemScrollController,
- ItemPositionsListener? itemPositionsListener,
- ScrollPhysics? physics,
- EdgeInsets? padding,
- IndexedWidgetBuilder? susItemBuilder,
- double susItemHeight = kSusItemHeight,
- Offset? susPosition,
- IndexHintBuilder? indexHintBuilder,
- List<
String> indexBarData = kIndexBarData, - double indexBarWidth = kIndexBarWidth,
- double? indexBarHeight,
- double indexBarItemHeight = kIndexBarItemHeight,
- bool hapticFeedback = false,
- AlignmentGeometry indexBarAlignment = Alignment.centerRight,
- EdgeInsetsGeometry? indexBarMargin,
- 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);