Unverified Commit db8d6357 authored by xster's avatar xster Committed by GitHub

make overflow dots on iOS horizontal in gallery (#20702)

parent e1534b8e
......@@ -372,7 +372,11 @@ class _DemoBottomAppBar extends StatelessWidget {
},
),
new IconButton(
icon: const Icon(Icons.more_vert),
icon: new Icon(
Theme.of(context).platform == TargetPlatform.iOS
? Icons.more_horiz
: Icons.more_vert,
),
onPressed: () {
Scaffold.of(context).showSnackBar(
const SnackBar(content: Text('This is a dummy menu action.')),
......
......@@ -227,7 +227,11 @@ class _ListDemoState extends State<ListDemo> {
},
),
new IconButton(
icon: const Icon(Icons.more_vert),
icon: new Icon(
Theme.of(context).platform == TargetPlatform.iOS
? Icons.more_horiz
: Icons.more_vert,
),
tooltip: 'Show menu',
onPressed: _bottomSheet == null ? _showConfigurationSheet : null,
),
......
......@@ -168,7 +168,11 @@ class _ListDemoState extends State<ReorderableListDemo> {
},
),
new IconButton(
icon: const Icon(Icons.more_vert),
icon: new Icon(
Theme.of(context).platform == TargetPlatform.iOS
? Icons.more_horiz
: Icons.more_vert,
),
tooltip: 'Show menu',
onPressed: _bottomSheet == null ? _showConfigurationSheet : null,
),
......
......@@ -52,7 +52,11 @@ class _SearchDemoState extends State<SearchDemo> {
),
new IconButton(
tooltip: 'More (not implemented)',
icon: const Icon(Icons.more_vert),
icon: new Icon(
Theme.of(context).platform == TargetPlatform.iOS
? Icons.more_horiz
: Icons.more_vert,
),
onPressed: () {},
),
],
......
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