SliverGridRegularTileLayoutAndLoading class

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

fullCrossAccessExtent → double
final
itemCount → int
final
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
hashCode → int
The hash code for this object.
read-only, inherited
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

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited