null safety

This commit is contained in:
Phaung Phaung
2021-09-10 16:48:20 +06:30
parent 52fe4b4568
commit 0f84fec2f7
12 changed files with 103 additions and 106 deletions

View File

@@ -135,7 +135,7 @@ class _DeliveryInfoState extends State<DeliveryInfo> {
final cartonTypeBox = LocalRadioButtons(
readOnly: true,
values: cartonModel.cartonTypesInfo,
selectedValue: _box.isShipmentCarton ?? false
selectedValue: (_box.isShipmentCarton ?? false)
? carton_from_shipments
: _box.cartonType);
final shipmentBox = DisplayText(