This commit is contained in:
PhyoThandar
2020-06-02 15:23:09 +06:30
5 changed files with 39 additions and 28 deletions

View File

@@ -4,6 +4,7 @@ import 'package:fcs/pages/shipment_rates_calculate.dart';
import 'package:fcs/pages/shipment_rates_edit.dart';
import 'package:fcs/pages/term.dart';
import 'package:fcs/vo/pickup.dart';
import 'package:fcs/widget/bottom_up_page_route.dart';
import 'package:provider/provider.dart';
import 'package:fcs/widget/localization/app_translations.dart';
@@ -96,26 +97,27 @@ class _ShipmentRatesState extends State<ShipmentRates> {
itemBuilder: (context, index) {
return _row(
shipmentRateModel.rates[index].description,
"\$ " +shipmentRateModel.rates[index].price.toString(),
"\$ " +
shipmentRateModel.rates[index].price.toString(),
'per pound');
}),
),
_row("Free delivery within Yangon \nfor shipments over","10","pounds"),
_row("Delivery fees","\$ 5","below 10 pounds"),
_row("Free delivery within Yangon \nfor shipments over", "10",
"pounds"),
_row("Delivery fees", "\$ 5", "below 10 pounds"),
fcsButton(context, "Terms & Conditions", callack: () {
Navigator.of(context)
.push(MaterialPageRoute(builder: (_) => Term()));
Navigator.of(context)
.push(MaterialPageRoute(builder: (_) => Term()));
}),
fcsButton(context, "Calculate", callack: () {
Navigator.of(context)
.push(MaterialPageRoute(builder: (_) => ShipmentRatesCal()));
Navigator.of(context)
.push(BottomUpPageRoute(ShipmentRatesCal()));
}),
fcsButton(context, "Edit", callack: () {
Navigator.of(context)
.push(MaterialPageRoute(builder: (_) => ShipmentRatesEdit()));
Navigator.of(context)
.push(BottomUpPageRoute(ShipmentRatesEdit()));
}),
SizedBox(height:10)
SizedBox(height: 10)
],
),
),
@@ -133,7 +135,7 @@ class _ShipmentRatesState extends State<ShipmentRates> {
Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[
Padding(
Padding(
padding: const EdgeInsets.only(bottom: 3.0),
child: Text(
'$price',