MosaicBlock class

Constructors

MosaicBlock.new({required double side, required int nx, required int ny, required List<Color> fillColors, required Color strokeColor})
MosaicBlock.fromColor({required Color baseColor, double side = 20, int nx = 4, int ny = 4})
factory

Properties

fillColors List<Color>
final
hashCode int
The hash code for this object.
no setterinherited
nx int
final
ny int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
side double
final
size Size
no setter
strokeColor Color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(Canvas canvas, Offset offset, double thickness) → void
toString() String
A string representation of this object.
inherited

Operators

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