spannablegrid-flutter
spannablegrid-flutter copied to clipboard
update _cells
Widget build(BuildContext context) { _updateCellsAndChildren(); return AspectRatio(...............
@ech89899, please watch this.
best regards
SpannableGrid(columns: 10, rows: 10, cells: _getCells()) ............ List<SpannableGridCellData> _getCells() { return result; }
............
setState(() { result.add(SpannableGridCellData( column: 1, row: 1, columnSpan: 1, rowSpan: 1, id: "asd", child: Text("asd") )); });