anchor.diff:          onGenerateRoute: (RouteSettings settings) {
             return MaterialPageRoute<dynamic>(
               builder: (BuildContext context) {
  -              return RaisedButton(
  +              return ElevatedButton(
                   onPressed: () {
                     Navigator.of(context).push<void>(
                       PageRouteBuilder<void>(
  
positive.code:           onGenerateRoute: (RouteSettings settings) {
              return MaterialPageRoute<dynamic>(
                builder: (BuildContext context) {
                  return RaisedButton(
                    onPressed: () {
                      Navigator.of(context).push<void>(
                        PageRouteBuilder<void>(
  
negative.code:       );
  
        // Open the new route.
        await tester.tap(find.byType(ElevatedButton));
        await tester.pumpAndSettle();
        expect(find.text('Open page'), findsNothing);
        expect(find.text('Page Two'), findsOneWidget);
  