AzListView constructor

AzListView({
  1. Key? key,
  2. List<ISuspensionBean>? data,
  3. List<ISuspensionBean>? topData,
  4. required ItemWidgetBuilder itemBuilder,
  5. ScrollController? controller,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = true,
  8. EdgeInsetsGeometry padding = EdgeInsets.zero,
  9. required Widget suspensionWidget,
  10. bool isUseRealIndex = true,
  11. int itemHeight = 50,
  12. int suspensionHeight = 40,
  13. ValueChanged<String>? onSusTagChanged,
  14. AzListViewHeader? header,
  15. IndexBarBuilder? indexBarBuilder,
  16. IndexHintBuilder? indexHintBuilder,
  17. bool showIndexHint = true,
})

Implementation

AzListView(
    {Key? key,
    this.data,
    this.topData,
    required this.itemBuilder,
    this.controller,
    this.physics,
    this.shrinkWrap = true,
    this.padding = EdgeInsets.zero,
    required this.suspensionWidget,
    this.isUseRealIndex = true,
    this.itemHeight = 50,
    this.suspensionHeight = 40,
    this.onSusTagChanged,
    this.header,
    this.indexBarBuilder,
    this.indexHintBuilder,
    this.showIndexHint = true})
    : super(key: key);