WT1.1.11 Null-Safe migration

This commit is contained in:
bossanyit
2021-04-02 11:42:26 +02:00
parent a656562c49
commit 01148c6e39
219 changed files with 3208 additions and 5334 deletions
+10 -11
View File
@@ -2,10 +2,9 @@ import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class TestProgress extends AnimatedWidget {
TestProgress({
Key key,
@required Animation<double> animation,
Key? key,
required Animation<double> animation,
}) : super(key: key, listenable: animation);
@override
@@ -15,14 +14,14 @@ class TestProgress extends AnimatedWidget {
return Transform.scale(
alignment: Alignment.center,
scale: animation.value,
origin: Offset(-5,0),
origin: Offset(-5, 0),
child: Container(
alignment: Alignment.center,
padding: EdgeInsets.only(left: 0),
child: Icon(Icons.star, color: Colors.yellow,)
),
alignment: Alignment.center,
padding: EdgeInsets.only(left: 0),
child: Icon(
Icons.star,
color: Colors.yellow,
)),
);
}
}
}