SliverInfiniteGridOptions class

Inheritance

Constructors

SliverInfiniteGridOptions.new({bool reverse = false, ScrollPhysics? scrollPhysics, Axis scrollDirection = Axis.vertical, bool? primary, double? cacheExtent, double anchor = 0.0, Clip clipBehavior = Clip.hardEdge, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual, EdgeInsets? gridPadding, int crossAxisCount = 2, double childAspectRatio = 1.0, double mainAxisSpacing = 8.0, double crossAxisSpacing = 8.0, int loadMoreTriggerItemDistance = 2, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, bool addSemanticIndexes = true, SemanticIndexCallback? semanticIndexCallback, int semanticIndexOffset = 0})
const
SliverInfiniteGridOptions.defaultOptions()
factory

Properties

addAutomaticKeepAlives bool
SliverChildBuilderDelegate flags / semantics
final
addRepaintBoundaries bool
final
addSemanticIndexes bool
final
anchor double
final
cacheExtent double?
final
childAspectRatio double
final
clipBehavior Clip
final
crossAxisCount int
--------- SliverGrid (default delegate) inputs ---------- Used only when gridDelegateBuilder is null.
final
crossAxisSpacing double
final
gridPadding EdgeInsets?
Padding applied around the grid sliver.
final
hashCode int
The hash code for this object.
no setterinherited
keyboardDismissBehavior ScrollViewKeyboardDismissBehavior
final
loadMoreTriggerItemDistance int
Number of items from the end at which to trigger load-more.
final
mainAxisSpacing double
final
primary bool?
final
reverse bool
--------- CustomScrollView inputs ----------
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis
final
scrollPhysics ScrollPhysics?
final
semanticIndexCallback SemanticIndexCallback?
final
semanticIndexOffset int
final

Methods

asOrThrow<T extends CollectionOptions>() → T
inherited
assertCorrectType(CollectionWidgetStateType type) → void
inherited
copyWith({bool? reverse, ScrollPhysics? scrollPhysics, Axis? scrollDirection, bool? primary, double? cacheExtent, double? anchor, Clip? clipBehavior, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior, EdgeInsets? gridPadding, int? crossAxisCount, double? childAspectRatio, double? mainAxisSpacing, double? crossAxisSpacing, int? loadMoreTriggerItemDistance, bool? addAutomaticKeepAlives, bool? addRepaintBoundaries, bool? addSemanticIndexes, SemanticIndexCallback? semanticIndexCallback, int? semanticIndexOffset}) SliverInfiniteGridOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifyOrThrow(CollectionWidgetStateType type) → void
inherited

Operators

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