orlikraf / flutter-hexagon

MIT License
30 stars 17 forks source link

Border radiuses for Hexagon widgets and grid. #7

Closed someq closed 3 years ago

someq commented 3 years ago

Single widget example

HexagonWidget.flat(width: 300, color: Colors.redAccent, borderRadius: 15)

Screenshot_1611123869

Grid example

HexagonOffsetGrid.oddPointy(
  columns: 2,
  rows: 4,
  color: Colors.black,
  hexagonPadding: 4,
  hexagonBorderRadius: 10,
  buildHexagon: (int col, int row) => HexagonWidget.template(color: Colors.yellow),
)

Screenshot_1611123887