SmartListView constructor
const
SmartListView({
- Key? key,
- required IndexedWidgetBuilder itemBuilder,
- required int itemCount,
- double dividerThickness = 0,
- Color dividerColor = Colors.transparent,
- double? cacheExtent,
- bool dividerEnd = false,
- bool dividerStart = false,
- Axis scrollDirection = Axis.vertical,
- IndexedWidgetBuilder? separatorBuilder,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- ScrollController? scrollController,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- bool reverse = false,
- double? itemExtent,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- ChildIndexGetter? findChildIndexCallback,
- bool isSliver = false,
- bool useColumnRow = false,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.onDrag,
Implementation
const SmartListView(
{Key? key,
required this.itemBuilder,
required this.itemCount,
this.dividerThickness = 0,
this.dividerColor = Colors.transparent,
this.cacheExtent,
this.dividerEnd = false,
this.dividerStart = false,
this.scrollDirection = Axis.vertical,
this.separatorBuilder,
this.physics,
this.shrinkWrap = false,
this.scrollController,
this.padding = EdgeInsets.zero,
this.reverse = false,
this.itemExtent,
this.addAutomaticKeepAlives = true,
this.addRepaintBoundaries = true,
this.findChildIndexCallback,
this.isSliver = false,
this.useColumnRow = false,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.onDrag})
: super(key: key);