mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Migrate RaisedButton -> ElevatedButton (#654)
* Migrate RaisedButton to ElevatedButton * Add changelog entry
This commit is contained in:
@ -12,12 +12,12 @@ class MyGameApp extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(routes: {
|
||||
'/': (BuildContext context) => Column(children: [
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
child: const Text('Game'),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pushNamed('/game');
|
||||
}),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
child: const Text('BaseGame'),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pushNamed('/base_game');
|
||||
|
||||
Reference in New Issue
Block a user