InfiniteGridOptions class
- Inheritance
-
- Object
- CollectionOptions
- InfiniteGridOptions
Constructors
- InfiniteGridOptions.new({int crossAxisCount = 2, double childAspectRatio = 1.0, double mainAxisSpacing = 8.0, double crossAxisSpacing = 8.0, bool reverse = false, EdgeInsets? padding, ScrollPhysics? scrollPhysics, bool shrinkWrap = false, int loadMoreTriggerItemDistance = 2})
-
const
- InfiniteGridOptions.defaultOptions()
-
factory
Properties
- childAspectRatio → double
-
final
- crossAxisCount → int
-
If
gridDelegateBuilder
is not provided, these are used to build aSliverGridDelegateWithFixedCrossAxisCount
.final - crossAxisSpacing → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadMoreTriggerItemDistance → int
-
Number of items from the end at which to trigger load-more.
final
- mainAxisSpacing → double
-
final
- padding → EdgeInsets?
-
final
- reverse → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPhysics → ScrollPhysics?
-
final
- shrinkWrap → bool
-
final
Methods
-
asOrThrow<
T extends CollectionOptions> () → T -
inherited
-
assertCorrectType(
CollectionWidgetStateType type) → void -
inherited
-
copyWith(
{int? crossAxisCount, double? childAspectRatio, double? mainAxisSpacing, double? crossAxisSpacing, bool? reverse, EdgeInsets? padding, ScrollPhysics? scrollPhysics, bool? shrinkWrap, int? loadMoreTriggerItemDistance}) → InfiniteGridOptions -
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