Updated Nested SingleChildScrollView test for clarity (#54670)
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user