Skip to content

Commit 28d271e

Browse files
Updated positional parameter ordering for IndexedStack example (#106687)
1 parent 21841d7 commit 28d271e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/api/lib/widgets/basic/indexed_stack.0.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
7272
}
7373
});
7474
},
75-
child: const Icon(key: Key('gesture1'), Icons.chevron_left),
75+
child: const Icon(Icons.chevron_left, key: Key('gesture1')),
7676
),
7777
Column(
7878
mainAxisAlignment: MainAxisAlignment.center,
@@ -95,7 +95,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
9595
}
9696
});
9797
},
98-
child: const Icon(key: Key('gesture2'), Icons.chevron_right),
98+
child: const Icon(Icons.chevron_right, key: Key('gesture2')),
9999
),
100100
],
101101
)

0 commit comments

Comments
 (0)