GroupListView constructor
const
GroupListView({
- Key? key,
- required ItemWidgetBuilder itemBuilder,
- required int sectionsCount,
- required SectionWidgetBuilder groupHeaderBuilder,
- required int countOfItemInSection(
- int section
- ItemWidgetBuilder? separatorBuilder,
- SectionWidgetBuilder? sectionSeparatorBuilder,
- Axis scrollDirection = Axis.vertical,
- bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- double? itemExtent,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- int? semanticChildCount,
- 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);