PatternNTiles class

Create a patterns of nb tiles, horizontally aligned

Constructors

PatternNTiles.new({required double tileHeight, required int nb})

Properties

crossAxisExtentConstraint double
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double
Total height of the pattern
no setter
nb int
Number of tiles in this pattern
final
nbTiles int
Number of tiles inside this pattern
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileHeight double
Height of a tile
final

Methods

getGeometry(int index) SliverGridGeometry
Returns the geometry of tile at index.
init(double crossAxisExtentConstraint) → void
Initialize the pattern with a width of crossAxisExtentConstraint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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