HexagonalGrid constructor
const
HexagonalGrid({
- Key? key,
- required HexGridConfig config,
- List<
HexWidget> widgets = const [], - dynamic onCellTap(
- HexCoordinate coordinate
- dynamic onCellLongPress(
- HexCoordinate coordinate
- dynamic onCellHover(
- HexCoordinate? coordinate
Implementation
const HexagonalGrid({
super.key,
required this.config,
this.widgets = const [],
this.onCellTap,
this.onCellLongPress,
this.onCellHover,
});