QuiltedGridRepeatPattern class abstract
Defines how a pattern is repeating.
Constructors
- QuiltedGridRepeatPattern()
-
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
repeatedIndexes(
List< int> indexes, int crossAxisCount) → List<int> - Returns the indexes in the repeating pattern order.
-
repeatedTileCount(
int tileCount) → int - Returns the number of tiles in the repeating pattern.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- inverted → const QuiltedGridRepeatPattern
- Every two blocks, the pattern is inverted (by central inversion).
- mirrored → const QuiltedGridRepeatPattern
- Every two blocks, the pattern is mirrored (by axial symmetry).
- same → const QuiltedGridRepeatPattern
- The same pattern is repeating over and over.