wt1.1c auth->cache, control page, animation base exercise percent
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import 'package:aitrainer_app/localization/app_localization.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TestProgress extends AnimatedWidget {
|
||||
|
||||
TestProgress({
|
||||
Key key,
|
||||
@required Animation<double> animation,
|
||||
}) : super(key: key, listenable: animation);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final animation = listenable as Animation<double>;
|
||||
|
||||
return Transform.scale(
|
||||
alignment: Alignment.center,
|
||||
scale: animation.value,
|
||||
origin: Offset(-5,0),
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
padding: EdgeInsets.only(left: 0),
|
||||
child: Icon(Icons.star, color: Colors.yellow,)
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user