Unverified Commit 650592b3 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated Nested SingleChildScrollView test for clarity (#54670)

parent 80953eea
......@@ -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,
);
}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment