API Product submit completed

This commit is contained in:
Vaibhav 2024-10-04 17:34:55 +05:30
parent 76da563953
commit 7fc5702a9c

View File

@ -231,7 +231,7 @@ class _CartScreenState extends State<CartScreen> {
), ),
), ),
// Display the subtotal using an Obx to update automatically. // Display the subtotal using an Obx to update automatically.
Obx(() => Text("${_cartController.subtotal.value}")), Obx(() => Text("${_cartController.subtotal.value.toStringAsFixed(2)}")),
], ],
), ),
@ -247,7 +247,7 @@ class _CartScreenState extends State<CartScreen> {
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
Obx(() => Text("${_cartController.gstTotal.value}")), Obx(() => Text("${_cartController.gstTotal.value.toStringAsFixed(2)}")),
], ],
), ),
@ -263,7 +263,7 @@ class _CartScreenState extends State<CartScreen> {
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
Obx(() => Text("${_cartController.grandTotal.value}")), Obx(() => Text("${_cartController.grandTotal.value.toStringAsFixed(2)}")),
], ],
), ),
], ],