From 413535ef0b12cd8f3094a8c8a39671660aeef5ba Mon Sep 17 00:00:00 2001 From: Sultan khan <> Date: Thu, 9 Nov 2023 10:26:01 +0300 Subject: [PATCH] null safety fixed. --- .../AttachInsuranceCardImageDialog.dart | 6 +++--- .../PrescriptionIDeliveryAddressPage.dart | 20 +++++++++---------- lib/uitl/location_util.dart | 4 ++-- lib/widgets/avatar/large_avatar.dart | 2 +- .../data_display/medical/doctor_card.dart | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/pages/insurance/AttachInsuranceCardImageDialog.dart b/lib/pages/insurance/AttachInsuranceCardImageDialog.dart index c00b44ef..b4360f9a 100644 --- a/lib/pages/insurance/AttachInsuranceCardImageDialog.dart +++ b/lib/pages/insurance/AttachInsuranceCardImageDialog.dart @@ -29,7 +29,7 @@ class _AttachInsuranceCardImageDialogState extends State { - late AddressInfo _selectedAddress; + late AddressInfo _selectedAddress = AddressInfo(); int _selectedAddressIndex = -1; Completer _controller = Completer(); late ProjectViewModel projectViewModel; @@ -144,7 +144,7 @@ class _PrescriptionDeliveryAddressPageState extends State[ LargeAvatar( - name: name!, - url: profileUrl!, + name: name, + url: profileUrl, width: 48, height: 48, ),