modify
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:fcs/model/pickup_model.dart';
|
||||
import 'package:fcs/model/shipment_rate_model.dart';
|
||||
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:provider/provider.dart';
|
||||
import 'package:fcs/widget/localization/app_translations.dart';
|
||||
@@ -31,14 +32,6 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
|
||||
PickUp _pickUp;
|
||||
bool _isLoading = false;
|
||||
List<String> texts = [
|
||||
"Minimum shipping weight is 1lbs.",
|
||||
"Oversized goods, Light weight/Large volume items, laptops, phones, tablets may incur extra charges based on specifications. Please contact us for pricing.",
|
||||
"Goods with lithium battary needs extra packaging and declaration. Please inform us ahead of time so that we can process your package accordingly.",
|
||||
"Loose Batteries, Drones, and Prescription medicines are not allowed on aircraft.",
|
||||
"Payment: We accept money orders, any US bank transfers via Zelle, AYA, KBZ and CB. No COD except for pick-ups.",
|
||||
"Payments made in Myanmar will incur 2% tranfer fee"
|
||||
];
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -62,13 +55,6 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
Widget build(BuildContext context) {
|
||||
var shipmentRateModel = Provider.of<ShipmentRateModel>(context);
|
||||
|
||||
var textList = texts
|
||||
.map(
|
||||
(e) => TextSpan(
|
||||
text: "\n * " + e + "\n",
|
||||
style: TextStyle(fontWeight: FontWeight.normal, fontSize: 13)),
|
||||
)
|
||||
.toList();
|
||||
final usaAddress = Container(
|
||||
child: TextFormField(
|
||||
maxLines: null,
|
||||
@@ -116,16 +102,11 @@ class _ShipmentRatesState extends State<ShipmentRates> {
|
||||
),
|
||||
_row("Free delivery within Yangon \nfor shipments over","10","pounds"),
|
||||
_row("Delivery fees","\$ 5","below 10 pounds"),
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.only(left: 18.0, right: 18),
|
||||
// child: RichText(
|
||||
// // overflow: TextOverflow.fade,
|
||||
// text: TextSpan(
|
||||
// style: TextStyle(color: primaryColor),
|
||||
// children: textList,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
|
||||
fcsButton(context, "Terms & Conditions", callack: () {
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (_) => Term()));
|
||||
}),
|
||||
fcsButton(context, "Calculate", callack: () {
|
||||
Navigator.of(context)
|
||||
.push(MaterialPageRoute(builder: (_) => ShipmentRatesCal()));
|
||||
|
||||
Reference in New Issue
Block a user