null safety
This commit is contained in:
@@ -154,7 +154,7 @@ class _PaymentPageEditState extends State<PaymentPageEdit> {
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
backgroundColor: primaryColor,
|
||||
title: Text(AppTranslations.of(context).text("pm_.title")),
|
||||
title: Text(AppTranslations.of(context)!.text("pm_.title")),
|
||||
),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
@@ -189,7 +189,7 @@ class _PaymentPageEditState extends State<PaymentPageEdit> {
|
||||
_widget = initialImage();
|
||||
} else {
|
||||
_widget = InkWell(
|
||||
child: Image.asset(widget.receipt!.fileUrl, fit: BoxFit.cover),
|
||||
child: Image.asset(widget.receipt!.fileUrl!, fit: BoxFit.cover),
|
||||
onTap: () {},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user