Pattern2Tiles class
Create 2 tiles, width is defined by a ratio between tile 1 and tile 2
Constructors
- Pattern2Tiles.new({required double ratio, required double tileHeight})
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
- nbTiles → int
-
Number of tiles inside this pattern
no setter
- ratio ↔ double
-
Width ratio between tile 1 and tile 2
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tileHeight ↔ double
-
Height of a tile
getter/setter pair
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