Board class

Constructors

Board({required String fen, required double size, required Color lightSquareColor, required Color darkSquareColor, BuildPiece? buildPiece, BuildSquare? buildSquare, BuildCustomPiece? buildCustomPiece})

Properties

buildCustomPiece → Option<BuildCustomPiece>
final
buildPiece → Option<BuildPiece>
final
buildSquare → Option<BuildSquare>
final
darkSquareColor Color
final
fen String
final
hashCode int
The hash code for this object.
no setterinherited
lightSquareColor Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
final
squares List<Square>
no setter
squareSize double
no setter

Methods

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