Unverified Commit 43bf66a9 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Close the Scaffold drawer in scroll_perf_test.dart (#26763)

parent 1b0f2015
......@@ -620,7 +620,11 @@ class GalleryDrawer extends StatelessWidget {
FancyDrawerHeader(),
ListTile(
key: const Key('scroll-switcher'),
onTap: () { _changeScrollMode(context, currentMode == ScrollMode.complex ? ScrollMode.tile : ScrollMode.complex); },
title: const Text('Scroll Mode'),
onTap: () {
_changeScrollMode(context, currentMode == ScrollMode.complex ? ScrollMode.tile : ScrollMode.complex);
Navigator.pop(context);
},
trailing: Text(currentMode == ScrollMode.complex ? 'Tile' : 'Complex')
),
ListTile(
......
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