ListViewBuilderOptions class

Object that exposes all available options for a ListView.builder.

Constructors

ListViewBuilderOptions({Axis? scrollDirection, bool? reverse, ScrollController? controller, bool? primary, ScrollPhysics? physics, bool? shrinkWrap, EdgeInsetsGeometry? padding, double? itemExtent, Widget? prototypeItem, ChildIndexGetter? findChildIndexCallback, bool? addAutomaticKeepAlives, bool? addRepaintBoundaries, bool? addSemanticIndexes, double? cacheExtent, int? semanticChildCount, DragStartBehavior? dragStartBehavior, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior, String? restorationId, Clip? clipBehavior})
Constructor of ListViewBuilderOptions.

Properties

addAutomaticKeepAlives bool?
See ListView.builder.addAutomaticKeepAlives for more information.
final
addRepaintBoundaries bool?
See ListView.builder.addRepaintBoundaries for more information.
final
addSemanticIndexes bool?
See ListView.builder.addSemanticIndexes for more information.
final
cacheExtent double?
See ListView.builder.cacheExtent for more information.
final
clipBehavior Clip?
See ListView.builder.clipBehavior for more information.
final
controller ScrollController?
See ListView.builder.controller for more information.
final
dragStartBehavior DragStartBehavior?
See ListView.builder.dragStartBehavior for more information.
final
findChildIndexCallback ChildIndexGetter?
See ListView.builder.findChildIndexCallback for more information.
final
hashCode int
The hash code for this object.
no setterinherited
itemExtent double?
See ListView.builder.itemExtent for more information.
final
keyboardDismissBehavior ScrollViewKeyboardDismissBehavior?
See ListView.builder.keyboardDismissBehavior for more information.
final
padding EdgeInsetsGeometry?
See ListView.builder.padding for more information.
final
physics ScrollPhysics?
See ListView.builder.physics for more information.
final
primary bool?
See ListView.builder.primary for more information.
final
prototypeItem Widget?
See ListView.builder.prototypeItem for more information.
final
restorationId String?
See ListView.builder.restorationId for more information.
final
reverse bool?
See ListView.builder.reverse for more information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis?
See ListView.builder.scrollDirection for more information.
final
semanticChildCount int?
See ListView.builder.semanticChildCount for more information.
final
shrinkWrap bool?
See ListView.builder.shrinkWrap for more information.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited