HexagonalGrid constructor

const HexagonalGrid({
  1. Key? key,
  2. required HexGridConfig config,
  3. List<HexWidget> widgets = const [],
  4. dynamic onCellTap(
    1. HexCoordinate coordinate
    )?,
  5. dynamic onCellLongPress(
    1. HexCoordinate coordinate
    )?,
  6. dynamic onCellHover(
    1. HexCoordinate? coordinate
    )?,
})

Implementation

const HexagonalGrid({
  super.key,
  required this.config,
  this.widgets = const [],
  this.onCellTap,
  this.onCellLongPress,
  this.onCellHover,
});