Unverified Commit 28d271ec authored by Youssef Attia's avatar Youssef Attia Committed by GitHub

Updated positional parameter ordering for IndexedStack example (#106687)

parent 21841d7e
......@@ -72,7 +72,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
}
});
},
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<MyStatefulWidget> {
}
});
},
child: const Icon(key: Key('gesture2'), Icons.chevron_right),
child: const Icon(Icons.chevron_right, key: Key('gesture2')),
),
],
)
......
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