phase3: @required->required keyword, nullable for-in iterator fix. 309->251
This commit is contained in:
@@ -582,7 +582,7 @@ class ShopState extends State<Shop>
|
||||
children: <Widget>[],
|
||||
);
|
||||
if (comment.images!.length > 0) {
|
||||
for (ProductImage image in comment.images) {
|
||||
for (ProductImage image in comment.images!) {
|
||||
imageRow.children.add(
|
||||
GestureDetector(
|
||||
child: Container(
|
||||
@@ -1416,7 +1416,7 @@ class ShopState extends State<Shop>
|
||||
))
|
||||
],
|
||||
)));
|
||||
for (var p in cp.products) {
|
||||
for (var p in cp.products!) {
|
||||
var pStack = new Stack(
|
||||
children: <Widget>[],
|
||||
);
|
||||
@@ -1932,9 +1932,9 @@ class ShopState extends State<Shop>
|
||||
|
||||
class _SliverAppBarDelegate2 extends SliverPersistentHeaderDelegate {
|
||||
_SliverAppBarDelegate2({
|
||||
@required this.minHeight,
|
||||
@required this.maxHeight,
|
||||
@required this.child,
|
||||
required this.minHeight,
|
||||
required this.maxHeight,
|
||||
required this.child,
|
||||
});
|
||||
|
||||
final double minHeight;
|
||||
|
||||
Reference in New Issue
Block a user