Unverified Commit 82706d73 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated references to obsolete Material button classes in benchmarks/macrobenchmarks (#65900)

parent 24b2b55c
...@@ -67,105 +67,105 @@ class HomePage extends StatelessWidget { ...@@ -67,105 +67,105 @@ class HomePage extends StatelessWidget {
body: ListView( body: ListView(
key: const Key(kScrollableName), key: const Key(kScrollableName),
children: <Widget>[ children: <Widget>[
RaisedButton( ElevatedButton(
key: const Key(kCullOpacityRouteName), key: const Key(kCullOpacityRouteName),
child: const Text('Cull opacity'), child: const Text('Cull opacity'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kCullOpacityRouteName); Navigator.pushNamed(context, kCullOpacityRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kCubicBezierRouteName), key: const Key(kCubicBezierRouteName),
child: const Text('Cubic Bezier'), child: const Text('Cubic Bezier'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kCubicBezierRouteName); Navigator.pushNamed(context, kCubicBezierRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kBackdropFilterRouteName), key: const Key(kBackdropFilterRouteName),
child: const Text('Backdrop Filter'), child: const Text('Backdrop Filter'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kBackdropFilterRouteName); Navigator.pushNamed(context, kBackdropFilterRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kPostBackdropFilterRouteName), key: const Key(kPostBackdropFilterRouteName),
child: const Text('Post Backdrop Filter'), child: const Text('Post Backdrop Filter'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kPostBackdropFilterRouteName); Navigator.pushNamed(context, kPostBackdropFilterRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kSimpleAnimationRouteName), key: const Key(kSimpleAnimationRouteName),
child: const Text('Simple Animation'), child: const Text('Simple Animation'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kSimpleAnimationRouteName); Navigator.pushNamed(context, kSimpleAnimationRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kPictureCacheRouteName), key: const Key(kPictureCacheRouteName),
child: const Text('Picture Cache'), child: const Text('Picture Cache'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kPictureCacheRouteName); Navigator.pushNamed(context, kPictureCacheRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kLargeImagesRouteName), key: const Key(kLargeImagesRouteName),
child: const Text('Large Images'), child: const Text('Large Images'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kLargeImagesRouteName); Navigator.pushNamed(context, kLargeImagesRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kTextRouteName), key: const Key(kTextRouteName),
child: const Text('Text'), child: const Text('Text'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kTextRouteName); Navigator.pushNamed(context, kTextRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kAnimatedPlaceholderRouteName), key: const Key(kAnimatedPlaceholderRouteName),
child: const Text('Animated Placeholder'), child: const Text('Animated Placeholder'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kAnimatedPlaceholderRouteName); Navigator.pushNamed(context, kAnimatedPlaceholderRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kColorFilterAndFadeRouteName), key: const Key(kColorFilterAndFadeRouteName),
child: const Text('Color Filter and Fade'), child: const Text('Color Filter and Fade'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kColorFilterAndFadeRouteName); Navigator.pushNamed(context, kColorFilterAndFadeRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kFadingChildAnimationRouteName), key: const Key(kFadingChildAnimationRouteName),
child: const Text('Fading Child Animation'), child: const Text('Fading Child Animation'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kFadingChildAnimationRouteName); Navigator.pushNamed(context, kFadingChildAnimationRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kImageFilteredTransformAnimationRouteName), key: const Key(kImageFilteredTransformAnimationRouteName),
child: const Text('ImageFiltered Transform Animation'), child: const Text('ImageFiltered Transform Animation'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kImageFilteredTransformAnimationRouteName); Navigator.pushNamed(context, kImageFilteredTransformAnimationRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kMultiWidgetConstructionRouteName), key: const Key(kMultiWidgetConstructionRouteName),
child: const Text('Widget Construction and Destruction'), child: const Text('Widget Construction and Destruction'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kMultiWidgetConstructionRouteName); Navigator.pushNamed(context, kMultiWidgetConstructionRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kHeavyGridViewRouteName), key: const Key(kHeavyGridViewRouteName),
child: const Text('Heavy Grid View'), child: const Text('Heavy Grid View'),
onPressed: () { onPressed: () {
Navigator.pushNamed(context, kHeavyGridViewRouteName); Navigator.pushNamed(context, kHeavyGridViewRouteName);
}, },
), ),
RaisedButton( ElevatedButton(
key: const Key(kLargeImageChangerRouteName), key: const Key(kLargeImageChangerRouteName),
child: const Text('Large Image Changer'), child: const Text('Large Image Changer'),
onPressed: () { 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