modify
This commit is contained in:
@@ -58,8 +58,14 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
leading: new IconButton(
|
||||
icon: new Icon(
|
||||
Icons.close,
|
||||
),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
backgroundColor: primaryColor,
|
||||
title: Text(AppTranslations.of(context).text("rate.title")),
|
||||
title: Text(AppTranslations.of(context).text("rate.cal.title")),
|
||||
),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
@@ -77,13 +83,22 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
|
||||
shipmentRateModel.rates[index].price.toString() +
|
||||
" per pound",
|
||||
'',
|
||||
"",input: true);
|
||||
"",
|
||||
input: true);
|
||||
}),
|
||||
),
|
||||
SizedBox(height: 50),
|
||||
Center(child: Text("Delivery fee:\$ 5",style: TextStyle(color:primaryColor,fontSize:16),)),
|
||||
Center(
|
||||
child: Text(
|
||||
"Delivery fee:\$ 5",
|
||||
style: TextStyle(color: primaryColor, fontSize: 16),
|
||||
)),
|
||||
SizedBox(height: 20),
|
||||
Center(child: Text("Total estimated amount:\$ 38",style: TextStyle(color:primaryColor,fontSize:20),))
|
||||
Center(
|
||||
child: Text(
|
||||
"Total estimated amount:\$ 38",
|
||||
style: TextStyle(color: primaryColor, fontSize: 20),
|
||||
))
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -91,7 +106,7 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
|
||||
);
|
||||
}
|
||||
|
||||
_row(String desc, String price, String unit,{bool input}) {
|
||||
_row(String desc, String price, String unit, {bool input}) {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(left: 25, top: 5, bottom: 5),
|
||||
child: Row(
|
||||
@@ -119,8 +134,10 @@ class _ShipmentRatesCalState extends State<ShipmentRatesCal> {
|
||||
width: 50,
|
||||
),
|
||||
Container(
|
||||
width: 70,
|
||||
child: TextField(textAlign: TextAlign.end,)),
|
||||
width: 70,
|
||||
child: TextField(
|
||||
textAlign: TextAlign.end,
|
||||
)),
|
||||
],
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user