GroupListView constructor

const GroupListView({
  1. Key? key,
  2. required ItemWidgetBuilder itemBuilder,
  3. required int sectionsCount,
  4. required SectionWidgetBuilder groupHeaderBuilder,
  5. required int countOfItemInSection(
    1. int section
    ),
  6. ItemWidgetBuilder? separatorBuilder,
  7. SectionWidgetBuilder? sectionSeparatorBuilder,
  8. Axis scrollDirection = Axis.vertical,
  9. bool reverse = false,
  10. ScrollController? controller,
  11. bool? primary,
  12. ScrollPhysics? physics,
  13. bool shrinkWrap = false,
  14. EdgeInsetsGeometry? padding,
  15. double? itemExtent,
  16. bool addAutomaticKeepAlives = true,
  17. bool addRepaintBoundaries = true,
  18. bool addSemanticIndexes = true,
  19. double? cacheExtent,
  20. int? semanticChildCount,
  21. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

const GroupListView({
  Key? key,
  required this.itemBuilder,
  required this.sectionsCount,
  required this.groupHeaderBuilder,
  required this.countOfItemInSection,
  this.separatorBuilder,
  this.sectionSeparatorBuilder,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.itemExtent,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
}) : super(key: key);