null safety
This commit is contained in:
@@ -223,7 +223,7 @@ class _ShipmentInfoState extends State<ShipmentInfo> {
|
||||
iconData: MaterialCommunityIcons.worker);
|
||||
var handlingFeeBox = DisplayText(
|
||||
labelTextKey: "shipment.handling.fee",
|
||||
text: (_shipment!.handlingFee ?? 0).toString(),
|
||||
text: (_shipment!.handlingFee).toString(),
|
||||
iconData: FontAwesome.truck);
|
||||
|
||||
final assignCompleteBtn = LocalButton(
|
||||
|
||||
Reference in New Issue
Block a user