mirror of
https://github.com/flutter/samples.git
synced 2026-04-21 22:43:06 +00:00
Migrate to the New Material Buttons (#668)
This commit is contained in:
@@ -14,7 +14,7 @@ class PageRouteBuilderDemo extends StatelessWidget {
|
||||
title: Text('Page 1'),
|
||||
),
|
||||
body: Center(
|
||||
child: RaisedButton(
|
||||
child: ElevatedButton(
|
||||
child: Text('Go!'),
|
||||
onPressed: () {
|
||||
Navigator.of(context).push<void>(_createRoute());
|
||||
|
||||
Reference in New Issue
Block a user