update disount

This commit is contained in:
PhyoThandar
2020-10-15 18:48:32 +06:30
parent 50f7673e85
commit f2432a33a1
10 changed files with 163 additions and 106 deletions

View File

@@ -77,7 +77,7 @@ class _ShipmentRatesState extends State<ShipmentRates> {
child: ListView(
// crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
fcsButton(context, "Calculate shipping cost", callack: () {
fcsButton(context, getLocalString(context, "rate.cal.title"), callack: () {
Navigator.of(context).push(CupertinoPageRoute(
builder: (context) => ShipmentRatesCal()));
}),
@@ -88,13 +88,10 @@ class _ShipmentRatesState extends State<ShipmentRates> {
padding: EdgeInsets.only(left: 25, top: 10, right: 25),
child: Row(
children: [
Text(
"Cargo Types",
style: TextStyle(
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
),
LocalText(context, "rate.cargo.type",
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
Spacer(),
IconButton(
icon: Icon(Icons.edit, color: primaryColor),
@@ -115,13 +112,10 @@ class _ShipmentRatesState extends State<ShipmentRates> {
padding: EdgeInsets.only(left: 25, top: 10, right: 25),
child: Row(
children: [
Text(
"Discounts by weight",
style: TextStyle(
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
),
LocalText(context, "rate.discount_by_weight",
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
Spacer(),
IconButton(
icon: Icon(Icons.edit, color: primaryColor),
@@ -152,13 +146,10 @@ class _ShipmentRatesState extends State<ShipmentRates> {
padding: EdgeInsets.only(left: 25, top: 10, right: 25),
child: Row(
children: [
Text(
"Custom Duties",
style: TextStyle(
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
),
LocalText(context, "rate.custom_duty",
color: primaryColor,
fontWeight: FontWeight.bold,
fontSize: 15),
Spacer(),
IconButton(
icon: Icon(Icons.edit, color: primaryColor),