SliverGridRegularTileLayoutAndLoading class Null safety

Inheritance

Constructors

SliverGridRegularTileLayoutAndLoading({required dynamic crossAxisCount, required dynamic mainAxisStride, required dynamic crossAxisStride, required dynamic childMainAxisExtent, required dynamic childCrossAxisExtent, required dynamic reverseCrossAxis, required double fullCrossAccessExtent, required int itemCount})
const

Properties

childCrossAxisExtent double
The number of pixels from the leading edge of one tile to the trailing edge of the same tile in the cross axis.
final, inherited
childMainAxisExtent double
The number of pixels from the leading edge of one tile to the trailing edge of the same tile in the main axis.
final, inherited
crossAxisCount int
The number of children in the cross axis.
final, inherited
crossAxisStride double
The number of pixels from the leading edge of one tile to the leading edge of the next tile in the cross axis.
final, inherited
fullCrossAccessExtent double
final
hashCode int
The hash code for this object. [...]
read-only, inherited
itemCount int
final
mainAxisStride double
The number of pixels from the leading edge of one tile to the leading edge of the next tile in the main axis.
final, inherited
reverseCrossAxis bool
Whether the children should be placed in the opposite order of increasing coordinates in the cross axis. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

computeMaxScrollOffset(int childCount) double
The scroll extent needed to fully display all the tiles if there are childCount children in total. [...]
inherited
getGeometryForChildIndex(int index) SliverGridGeometry
The size and position of the child with the given index.
override
getMaxChildIndexForScrollOffset(double scrollOffset) int
The maximum child index that intersects with (or is before) this scroll offset.
inherited
getMinChildIndexForScrollOffset(double scrollOffset) int
The minimum child index that intersects with (or is after) this scroll offset.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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