SliverWovenGridDelegate class

Controls the layout of tiles in a woven grid.

Inheritance

Constructors

SliverWovenGridDelegate.count({required List<WovenGridTile> pattern, required int crossAxisCount, double mainAxisSpacing = 0, double crossAxisSpacing = 0, double tileBottomSpace = 0})
Creates a SliverWovenGridDelegate.
const
SliverWovenGridDelegate.extent({required List<WovenGridTile> pattern, required double maxCrossAxisExtent, double mainAxisSpacing = 0, double crossAxisSpacing = 0, double tileBottomSpace = 0})
Creates a SliverWovenGridDelegate.
const

Properties

crossAxisCount int?
The number of children in the cross axis.
finalinherited
crossAxisSpacing double
The number of pixels between each child along the cross axis.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mainAxisSpacing double
The number of pixels between each child along the main axis.
finalinherited
maxCrossAxisExtent double?
The maximum extent of tiles in the cross axis.
finalinherited
pattern List<WovenGridTile>
The tiles representing the pattern to be repeated.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileBottomSpace double
The number of logical pixels of the space below each tile.
final
tileCount int
The number of tiles in the pattern.
finalinherited

Methods

getGeometries(SliverConstraints constraints, int crossAxisCount) → SliverPatternGridGeometries
Returns the geometries of each tiles in the pattern.
getLayout(SliverConstraints constraints) → _SliverPatternGridLayout
Returns information about the size and position of the tiles in the grid.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRelayout(covariant SliverWovenGridDelegate oldDelegate) bool
Override this method to return true when the children need to be laid out.
toString() String
A string representation of this object.
inherited

Operators

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