phase3: nullfix field-formal field-nullable handler. 907 -> 872
This commit is contained in:
@@ -12,7 +12,7 @@ import '../../utils/utils.dart';
|
||||
|
||||
class DownloadItem extends StatefulWidget {
|
||||
final dynamic desc;
|
||||
final double width;
|
||||
final double? width;
|
||||
const DownloadItem(this.desc, {Key? key, this.width}) : super(key: key);
|
||||
|
||||
@override
|
||||
@@ -52,7 +52,7 @@ class DownloadItemState extends State<DownloadItem> {
|
||||
margin: EdgeInsets.only(right: 16.0),
|
||||
),
|
||||
Container(
|
||||
width: widget.width != null ? widget.width - iconWidth - buttonWidth - 60 : MediaQuery.of(context).size.width - iconWidth - buttonWidth - 60,
|
||||
width: widget.width != null ? widget.width! - iconWidth - buttonWidth - 60 : MediaQuery.of(context).size.width - iconWidth - buttonWidth - 60,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Reference in New Issue
Block a user