4/23/7
This commit is contained in:
@@ -690,6 +690,7 @@ class DriverTipWidget extends StatelessWidget {
|
|||||||
context,
|
context,
|
||||||
'${'Tip is '.tr}${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
'${'Tip is '.tr}${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
||||||
AppColor.blueColor);
|
AppColor.blueColor);
|
||||||
|
controller.update();
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(border: Border.all()),
|
decoration: BoxDecoration(border: Border.all()),
|
||||||
@@ -708,6 +709,7 @@ class DriverTipWidget extends StatelessWidget {
|
|||||||
context,
|
context,
|
||||||
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
||||||
AppColor.blueColor);
|
AppColor.blueColor);
|
||||||
|
controller.update();
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(border: Border.all()),
|
decoration: BoxDecoration(border: Border.all()),
|
||||||
@@ -726,6 +728,7 @@ class DriverTipWidget extends StatelessWidget {
|
|||||||
context,
|
context,
|
||||||
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
||||||
AppColor.blueColor);
|
AppColor.blueColor);
|
||||||
|
controller.update();
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(border: Border.all()),
|
decoration: BoxDecoration(border: Border.all()),
|
||||||
@@ -744,6 +747,7 @@ class DriverTipWidget extends StatelessWidget {
|
|||||||
context,
|
context,
|
||||||
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
'${'Tip is'.tr} ${(controller.totalPassenger) * (double.parse(box.read(BoxName.tipPercentage.toString())))}',
|
||||||
AppColor.blueColor);
|
AppColor.blueColor);
|
||||||
|
controller.update();
|
||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: BoxDecoration(border: Border.all()),
|
decoration: BoxDecoration(border: Border.all()),
|
||||||
|
|||||||
Reference in New Issue
Block a user