HexCell constructor

const HexCell({
  1. required HexCoordinate coordinate,
  2. Color? fillColor,
  3. Color? borderColor,
  4. double? borderWidth,
  5. bool enabled = true,
  6. Map<String, dynamic> data = const {},
  7. bool isSelected = false,
  8. bool isOccupied = false,
})

Implementation

const HexCell({
  required this.coordinate,
  this.fillColor,
  this.borderColor,
  this.borderWidth,
  this.enabled = true,
  this.data = const {},
  this.isSelected = false,
  this.isOccupied = false,
});