This commit is contained in:
Hamza Aleghwairyeen
2024-04-24 01:59:50 +03:00
parent c78f49e968
commit c7a40fefbe

View File

@@ -690,6 +690,7 @@ class DriverTipWidget extends StatelessWidget {
context,
'${'Tip is '.tr}${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
AppColor.blueColor);
controller.update();
},
child: Container(
decoration: BoxDecoration(border: Border.all()),
@@ -708,6 +709,7 @@ class DriverTipWidget extends StatelessWidget {
context,
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
AppColor.blueColor);
controller.update();
},
child: Container(
decoration: BoxDecoration(border: Border.all()),
@@ -726,6 +728,7 @@ class DriverTipWidget extends StatelessWidget {
context,
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
AppColor.blueColor);
controller.update();
},
child: Container(
decoration: BoxDecoration(border: Border.all()),
@@ -744,6 +747,7 @@ class DriverTipWidget extends StatelessWidget {
context,
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
AppColor.blueColor);
controller.update();
},
child: Container(
decoration: BoxDecoration(border: Border.all()),