Updated positional parameter ordering for IndexedStack example (#106687)

This commit is contained in:
Youssef Attia
2022-06-27 13:40:24 -07:00
committed by GitHub
parent 21841d7e35
commit 28d271ecfc

View File

@@ -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')),
),
],
)