HexGridConfig constructor

const HexGridConfig({
  1. required int columns,
  2. required int rows,
  3. required double hexSize,
  4. HexOrientation orientation = HexOrientation.flat,
  5. bool showGridLines = true,
  6. Color gridLineColor = Colors.grey,
  7. double gridLineWidth = 1.0,
  8. Color? fillColor,
  9. double spacing = 0.0,
  10. bool enableInteraction = true,
})

Implementation

const HexGridConfig({
  required this.columns,
  required this.rows,
  required this.hexSize,
  this.orientation = HexOrientation.flat,
  this.showGridLines = true,
  this.gridLineColor = Colors.grey,
  this.gridLineWidth = 1.0,
  this.fillColor,
  this.spacing = 0.0,
  this.enableInteraction = true,
});