BoardBackground constructor

BoardBackground({
  1. Key? key,
  2. BackgroundConfig config = BackgroundConfig.standard,
  3. BoardSize size = BoardSize.standard,
  4. int orientation = Squares.white,
  5. BoardTheme theme = BoardTheme.blueGrey,
  6. Map<int, HighlightType> highlights = const {},
  7. Map<int, Marker> markers = const {},
  8. MarkerTheme? markerTheme,
})

Implementation

BoardBackground({
  super.key,
  this.config = BackgroundConfig.standard,
  this.size = BoardSize.standard,
  this.orientation = Squares.white,
  this.theme = BoardTheme.blueGrey,
  this.highlights = const {},
  this.markers = const {},
  MarkerTheme? markerTheme,
}) : markerTheme = markerTheme ?? MarkerTheme.basic;