background property
A widget to be placed behind everything on the board.
Useful for games with backgrounds like Xiangqi.
If you use this then you need to either set boardConfig
or set the colour
of the basic squares in theme to transparent.
Implementation
final Widget? background;