diff --git a/examples/api/lib/widgets/basic/indexed_stack.0.dart b/examples/api/lib/widgets/basic/indexed_stack.0.dart index 6fb64a89917..feb260a1e50 100644 --- a/examples/api/lib/widgets/basic/indexed_stack.0.dart +++ b/examples/api/lib/widgets/basic/indexed_stack.0.dart @@ -72,7 +72,7 @@ class _MyStatefulWidgetState extends State { } }); }, - child: const Icon(key: Key('gesture1'), Icons.chevron_left), + child: const Icon(Icons.chevron_left, key: Key('gesture1')), ), Column( mainAxisAlignment: MainAxisAlignment.center, @@ -95,7 +95,7 @@ class _MyStatefulWidgetState extends State { } }); }, - child: const Icon(key: Key('gesture2'), Icons.chevron_right), + child: const Icon(Icons.chevron_right, key: Key('gesture2')), ), ], )