Updated Nested SingleChildScrollView test for clarity (#54670)

This commit is contained in:
Hans Muller
2020-04-13 12:50:01 -07:00
committed by GitHub
parent 80953eea0d
commit 650592b3ef

View File

@@ -581,9 +581,9 @@ void main() {
children: List<Widget>.generate(10, (int y) {
return Row(
children: children[y] = List<Widget>.generate(10, (int x) {
// nonconst is used below to avoid const constructor and to force a new instance
return SizedBox(
height: nonconst(100.0),
key: UniqueKey(),
height: 100.0,
width: 100.0,
);
}),