|
|
@ -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'));
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|