cleanup
This commit is contained in:
@@ -70,6 +70,7 @@ class _MyAppState extends State<MyApp> with TickerProviderStateMixin {
|
|||||||
void _createAnimations() {
|
void _createAnimations() {
|
||||||
_scaleAnimationController = AnimationController(
|
_scaleAnimationController = AnimationController(
|
||||||
vsync: this,
|
vsync: this,
|
||||||
|
value: 0,
|
||||||
duration: Duration(
|
duration: Duration(
|
||||||
milliseconds: 500,
|
milliseconds: 500,
|
||||||
),
|
),
|
||||||
@@ -114,7 +115,7 @@ class _MyAppState extends State<MyApp> with TickerProviderStateMixin {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
timeOfStartMs = DateTime.now().millisecondsSinceEpoch;
|
timeOfStartMs = DateTime.now().millisecondsSinceEpoch;
|
||||||
|
|
||||||
_createAnimations();
|
_createAnimations();
|
||||||
|
|
||||||
_initConnection().then(
|
_initConnection().then(
|
||||||
|
|||||||
Reference in New Issue
Block a user