ExpandableListView constructor
ExpandableListView({
- required SliverExpandableChildDelegate<
dynamic, ExpandableListSection> builder, - bool reverse = false,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- double? cacheExtent,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
Implementation
ExpandableListView({
required this.builder,
bool reverse = false,
ScrollController? controller,
bool? primary,
ScrollPhysics? physics,
bool shrinkWrap = false,
EdgeInsetsGeometry? padding,
double? cacheExtent,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) : super(
scrollDirection: Axis.vertical,
reverse: reverse,
controller: controller,
primary: primary,
physics: physics,
shrinkWrap: shrinkWrap,
padding: padding,
cacheExtent: cacheExtent,
semanticChildCount: builder.sectionList.length,
dragStartBehavior: dragStartBehavior,
);