replace fcsInput to InputText
This commit is contained in:
@@ -273,6 +273,8 @@
|
|||||||
"shipment.location_time": "Pickup Location / Time",
|
"shipment.location_time": "Pickup Location / Time",
|
||||||
"shipment.information": "Pickup Informations",
|
"shipment.information": "Pickup Informations",
|
||||||
"shipment.recipient_information": "Recipient Informations",
|
"shipment.recipient_information": "Recipient Informations",
|
||||||
|
"shipment.from":"From",
|
||||||
|
"shipment.to":"To",
|
||||||
"Shipment End ================================================================":"",
|
"Shipment End ================================================================":"",
|
||||||
|
|
||||||
"Rate Start ================================================================":"",
|
"Rate Start ================================================================":"",
|
||||||
|
|||||||
@@ -273,6 +273,8 @@
|
|||||||
"shipment.location_time": "Pickup Location / Time",
|
"shipment.location_time": "Pickup Location / Time",
|
||||||
"shipment.information": "Pickup Informations",
|
"shipment.information": "Pickup Informations",
|
||||||
"shipment.recipient_information": "Recipient Informations",
|
"shipment.recipient_information": "Recipient Informations",
|
||||||
|
"shipment.from":"From",
|
||||||
|
"shipment.to":"To",
|
||||||
"Shipment End ================================================================":"",
|
"Shipment End ================================================================":"",
|
||||||
|
|
||||||
"Rate Start ================================================================":"",
|
"Rate Start ================================================================":"",
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import 'package:fcs/pages/shipment_address/model/shipment_address_model.dart';
|
|||||||
import 'package:fcs/pages/shipment_address/shipping_address_row.dart';
|
import 'package:fcs/pages/shipment_address/shipping_address_row.dart';
|
||||||
import 'package:fcs/pages/main/util.dart';
|
import 'package:fcs/pages/main/util.dart';
|
||||||
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
|
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
|
||||||
|
import 'package:fcs/pages/widgets/input_text.dart';
|
||||||
import 'package:fcs/pages/widgets/local_text.dart';
|
import 'package:fcs/pages/widgets/local_text.dart';
|
||||||
import 'package:fcs/pages/widgets/multi_img_controller.dart';
|
import 'package:fcs/pages/widgets/multi_img_controller.dart';
|
||||||
import 'package:fcs/pages/widgets/multi_img_file.dart';
|
import 'package:fcs/pages/widgets/multi_img_file.dart';
|
||||||
@@ -105,17 +106,15 @@ class _ShipmentEditorState extends State<ShipmentEditor> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
var pickupModel = Provider.of<ShipmentModel>(context);
|
var pickupModel = Provider.of<ShipmentModel>(context);
|
||||||
|
|
||||||
final fromTimeBox = fcsInput(
|
final fromTimeBox = InputText(
|
||||||
'From',
|
labelTextKey: 'shipment.from',
|
||||||
Icons.timer,
|
iconData: Icons.timer,
|
||||||
controller: _fromTimeEditingController,
|
controller: _fromTimeEditingController);
|
||||||
);
|
|
||||||
|
|
||||||
final toTimeBox = fcsInput(
|
final toTimeBox = InputText(
|
||||||
'To',
|
labelTextKey: 'shipment.to',
|
||||||
null,
|
iconData: null,
|
||||||
controller: _toTimeEditingController,
|
controller: _toTimeEditingController);
|
||||||
);
|
|
||||||
|
|
||||||
final fromTimeBoxReadOnly = fcsInputReadOnly(
|
final fromTimeBoxReadOnly = fcsInputReadOnly(
|
||||||
'From',
|
'From',
|
||||||
@@ -142,6 +141,7 @@ class _ShipmentEditorState extends State<ShipmentEditor> {
|
|||||||
child: Text('-'),
|
child: Text('-'),
|
||||||
),
|
),
|
||||||
Container(
|
Container(
|
||||||
|
padding: EdgeInsets.only(left: 20),
|
||||||
child: toTimeBox,
|
child: toTimeBox,
|
||||||
width: 120,
|
width: 120,
|
||||||
),
|
),
|
||||||
@@ -170,12 +170,6 @@ class _ShipmentEditorState extends State<ShipmentEditor> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
final noOfPackageBox = fcsInput(
|
|
||||||
'Number of Packages',
|
|
||||||
Octicons.package,
|
|
||||||
controller: _noOfPackageEditingController,
|
|
||||||
);
|
|
||||||
|
|
||||||
final noOfPackageBoxReadonly = fcsInputReadOnly(
|
final noOfPackageBoxReadonly = fcsInputReadOnly(
|
||||||
'Number of Packages',
|
'Number of Packages',
|
||||||
Octicons.package,
|
Octicons.package,
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class _ShipmentListState extends State<ShipmentList> {
|
|||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
),
|
),
|
||||||
backgroundColor: primaryColor,
|
backgroundColor: primaryColor,
|
||||||
title: LocalText(context, "shipment.title",
|
title: LocalText(context, "shipment",
|
||||||
fontSize: 18, color: Colors.white),
|
fontSize: 18, color: Colors.white),
|
||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
IconButton(
|
IconButton(
|
||||||
|
|||||||
Reference in New Issue
Block a user