BackgroundConfig class

Configuration for BoardBackground.

Constructors

BackgroundConfig({bool drawNormalSquares = true, bool drawHighlightedSquares = true, bool drawMarkers = true, double? opacity, bool modifyTranslucentOpacity = false, BoxDecoration squareDecoration = const BoxDecoration()})
const

Properties

drawHighlightedSquares bool
Whether to draw squares that are highlighted.
final
drawMarkers bool
Whether to draw markers.
final
drawNormalSquares bool
Whether to draw normal squares, i.e. squares that are not highlighted.
final
hashCode int
The hash code for this object.
no setterinherited
modifyTranslucentOpacity bool
Whether to modify the opacity of squares that already have a translucent (i.e., not 1.0) opacity.
final
opacity double?
Opacity modifier for drawn squares.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
squareDecoration BoxDecoration
A BoxDecoration that will be applied to the main Container for each square. You can use this to change its shape, e.g. to make it a circle.
final

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