fix for slides
This commit is contained in:
@@ -204,17 +204,33 @@ class _PackageEditorState extends State<PackageEditor> {
|
||||
padding: const EdgeInsets.only(
|
||||
left: 20.0, right: 20),
|
||||
child: TextFormField(
|
||||
initialValue: isNew ? "" : "PKG2039",
|
||||
initialValue: _package.receiverName,
|
||||
decoration: InputDecoration(
|
||||
fillColor: Colors.white,
|
||||
labelText: 'Package ID',
|
||||
hintText: 'Package ID',
|
||||
filled: true,
|
||||
icon: Icon(MaterialCommunityIcons.id_card,
|
||||
color: primaryColor),
|
||||
),
|
||||
fillColor: Colors.white,
|
||||
labelText: 'Customer Name',
|
||||
filled: true,
|
||||
icon: Icon(Feather.user,
|
||||
color: Colors.white),
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(Icons.search),
|
||||
onPressed: () {})),
|
||||
),
|
||||
),
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.only(
|
||||
// left: 20.0, right: 20),
|
||||
// child: TextFormField(
|
||||
// initialValue: isNew ? "" : "PKG2039",
|
||||
// decoration: InputDecoration(
|
||||
// fillColor: Colors.white,
|
||||
// labelText: 'Package ID',
|
||||
// hintText: 'Package ID',
|
||||
// filled: true,
|
||||
// icon: Icon(MaterialCommunityIcons.id_card,
|
||||
// color: primaryColor),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 20.0, right: 20),
|
||||
@@ -231,39 +247,24 @@ class _PackageEditorState extends State<PackageEditor> {
|
||||
),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 20.0, right: 20),
|
||||
child: TextFormField(
|
||||
initialValue: _package.receiverName,
|
||||
decoration: InputDecoration(
|
||||
fillColor: Colors.white,
|
||||
labelText: 'Customer Name',
|
||||
filled: true,
|
||||
icon: Icon(Feather.user,
|
||||
color: Colors.white),
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(Icons.search),
|
||||
onPressed: () {})),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 20.0, right: 20),
|
||||
child: TextFormField(
|
||||
initialValue: isNew ? "" : "",
|
||||
decoration: InputDecoration(
|
||||
fillColor: Colors.white,
|
||||
labelText: 'Pickup ID',
|
||||
filled: true,
|
||||
icon: Icon(
|
||||
MaterialCommunityIcons.directions,
|
||||
color: primaryColor),
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(Icons.search),
|
||||
onPressed: () {})),
|
||||
),
|
||||
),
|
||||
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.only(
|
||||
// left: 20.0, right: 20),
|
||||
// child: TextFormField(
|
||||
// initialValue: isNew ? "" : "",
|
||||
// decoration: InputDecoration(
|
||||
// fillColor: Colors.white,
|
||||
// labelText: 'Pickup ID',
|
||||
// filled: true,
|
||||
// icon: Icon(
|
||||
// MaterialCommunityIcons.directions,
|
||||
// color: primaryColor),
|
||||
// suffixIcon: IconButton(
|
||||
// icon: Icon(Icons.search),
|
||||
// onPressed: () {})),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
)
|
||||
: Container(),
|
||||
@@ -362,6 +363,7 @@ class _PackageEditorState extends State<PackageEditor> {
|
||||
),
|
||||
],
|
||||
),
|
||||
isNew?Container():
|
||||
getShippingAddressList(context),
|
||||
isNew
|
||||
? Container()
|
||||
|
||||
@@ -58,7 +58,7 @@ class _PackageListRowtate extends State<PackageListRow> {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
_package.id == null ? '' : _package.id,
|
||||
_package.id == null ? '' : _package.trackingID,
|
||||
style: new TextStyle(
|
||||
fontSize: 15.0, color: Colors.black),
|
||||
),
|
||||
@@ -71,16 +71,16 @@ class _PackageListRowtate extends State<PackageListRow> {
|
||||
fontSize: 15.0, color: Colors.black),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 8.0),
|
||||
child: new Text(
|
||||
_package.trackingID == null
|
||||
? ''
|
||||
: _package.trackingID,
|
||||
style: new TextStyle(
|
||||
fontSize: 15.0, color: Colors.grey),
|
||||
),
|
||||
),
|
||||
// Padding(
|
||||
// padding: const EdgeInsets.only(left: 8.0),
|
||||
// child: new Text(
|
||||
// _package.trackingID == null
|
||||
// ? ''
|
||||
// : _package.trackingID,
|
||||
// style: new TextStyle(
|
||||
// fontSize: 15.0, color: Colors.grey),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user