ExpandableListView constructor
ExpandableListView({
- Key? key,
- 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({
Key? key,
required this.builder,
bool reverse = false,
ScrollController? controller,
bool? primary,
ScrollPhysics? physics,
bool shrinkWrap = false,
EdgeInsetsGeometry? padding,
double? cacheExtent,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) : super(
key: key,
scrollDirection: Axis.vertical,
reverse: reverse,
controller: controller,
primary: primary,
physics: physics,
shrinkWrap: shrinkWrap,
padding: padding,
cacheExtent: cacheExtent,
semanticChildCount: builder.sectionList.length,
dragStartBehavior: dragStartBehavior,
);