Skip to content

update _cells#2

Open
sante85 wants to merge 2 commits intoechedev:masterfrom
sante85:master
Open

update _cells#2
sante85 wants to merge 2 commits intoechedev:masterfrom
sante85:master

Conversation

@sante85
Copy link
Copy Markdown

@sante85 sante85 commented May 7, 2020

Widget build(BuildContext context) {
_updateCellsAndChildren();
return AspectRatio(...............

_cells = widget.cells;
@sante85
Copy link
Copy Markdown
Author

sante85 commented May 7, 2020

@ech89899, please watch this.

best regards

@sante85
Copy link
Copy Markdown
Author

sante85 commented May 7, 2020

SpannableGrid(columns: 10, rows: 10, cells: _getCells())
............
List _getCells() {
return result;
}

............

setState(() {
result.add(SpannableGridCellData(
column: 1,
row: 1,
columnSpan: 1,
rowSpan: 1,
id: "asd",
child: Text("asd")
));
});

Copy link
Copy Markdown
Author

@sante85 sante85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add _updateCellsAndChildren();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant