mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
bug fix in cutomTweenDemo (#675)
This commit is contained in:
committed by
GitHub
parent
4ae90f3aa9
commit
6502209a78
@@ -71,27 +71,32 @@ class _CustomTweenDemoState extends State<CustomTweenDemo>
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: SafeArea(
|
body: SafeArea(
|
||||||
child: Column(
|
child: Container(
|
||||||
mainAxisAlignment: MainAxisAlignment.end,
|
alignment: Alignment.bottomCenter,
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
child: SingleChildScrollView(
|
||||||
children: [
|
child: Column(
|
||||||
Padding(
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
padding: EdgeInsets.all(8.0),
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
child: Card(
|
children: [
|
||||||
child: Container(
|
Padding(
|
||||||
padding: EdgeInsets.all(8.0),
|
padding: EdgeInsets.all(8.0),
|
||||||
child: AnimatedBuilder(
|
child: Card(
|
||||||
animation: animation,
|
child: Container(
|
||||||
builder: (context, child) {
|
padding: EdgeInsets.all(8.0),
|
||||||
return Text('${animation.value}',
|
child: AnimatedBuilder(
|
||||||
style: TextStyle(
|
animation: animation,
|
||||||
fontSize: 16, fontFamily: 'SpecialElite'));
|
builder: (context, child) {
|
||||||
},
|
return Text('${animation.value}',
|
||||||
|
style: TextStyle(
|
||||||
|
fontSize: 16, fontFamily: 'SpecialElite'));
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
),
|
),
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user