mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
Migrate to the New Material Buttons (#668)
This commit is contained in:
@@ -51,7 +51,7 @@ class _TweenDemoState extends State<TweenDemo>
|
||||
child: Text('\$${animation.value.toStringAsFixed(2)}',
|
||||
style: TextStyle(fontSize: 24)),
|
||||
),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
child: Text(
|
||||
controller.status == AnimationStatus.completed
|
||||
? 'Buy a Mansion'
|
||||
|
||||
Reference in New Issue
Block a user