mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 06:18:49 +00:00
[Animations] Button size increased (#600)
This commit is contained in:
@@ -48,6 +48,8 @@ class _AnimatedBuilderDemoState extends State<AnimatedBuilderDemo>
|
|||||||
builder: (context, child) {
|
builder: (context, child) {
|
||||||
return MaterialButton(
|
return MaterialButton(
|
||||||
color: animation.value,
|
color: animation.value,
|
||||||
|
height: 50,
|
||||||
|
minWidth: 100,
|
||||||
child: child,
|
child: child,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
if (controller.status == AnimationStatus.completed) {
|
if (controller.status == AnimationStatus.completed) {
|
||||||
|
|||||||
Reference in New Issue
Block a user