Unverified Commit 3156c288 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Improve semantics for Drawer-Demo (#19911)

parent 82415e64
......@@ -201,6 +201,10 @@ class _DrawerDemoState extends State<DrawerDemo> with TickerProviderStateMixin {
onTap: () {
_scaffoldKey.currentState.openDrawer();
},
child: new Semantics(
button: true,
label: 'Open drawer',
excludeSemantics: true,
child: new Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
......@@ -227,6 +231,7 @@ class _DrawerDemoState extends State<DrawerDemo> with TickerProviderStateMixin {
),
),
),
),
);
}
......
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