prepare carton info
This commit is contained in:
@@ -39,47 +39,40 @@ class _CartonImageUploaState extends State<CartonImageUploadEditor> {
|
||||
labelColor: primaryColor,
|
||||
arrowColor: primaryColor,
|
||||
actions: []
|
||||
// isEdiable
|
||||
// ? <Widget>[
|
||||
// IconButton(
|
||||
// icon: Icon(Icons.edit, color: primaryColor),
|
||||
// onPressed: _gotoEditor,
|
||||
// ),
|
||||
// IconButton(
|
||||
// icon: Icon(Icons.delete, color: primaryColor),
|
||||
// onPressed: _delete,
|
||||
// ),
|
||||
// ]
|
||||
// : [],
|
||||
|
||||
),
|
||||
body: ListView(
|
||||
children: [
|
||||
Center(
|
||||
child: Text("${_box?.cartonNumber}",
|
||||
style: TextStyle(
|
||||
color: primaryColor,
|
||||
fontSize: 25,
|
||||
))),
|
||||
MultiImageFile(
|
||||
enabled: true,
|
||||
controller: multiImgController,
|
||||
title: "Receipt File",
|
||||
),
|
||||
Center(
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Color(0xff272262),
|
||||
elevation: 3,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(5.0)),
|
||||
minimumSize: Size(300, 45), //////// HERE
|
||||
),
|
||||
onPressed: () {},
|
||||
child:
|
||||
const Text('Save', style: TextStyle(fontSize: 20)),
|
||||
body:
|
||||
Padding(padding:EdgeInsets.only(left: 12.0, right: 12),
|
||||
child: ListView(
|
||||
children: [
|
||||
Center(
|
||||
child: Text("${_box?.cartonNumber}",
|
||||
style: TextStyle(
|
||||
color: primaryColor,
|
||||
fontSize: 25,
|
||||
))),
|
||||
|
||||
MultiImageFile(
|
||||
enabled: true,
|
||||
controller: multiImgController,
|
||||
title: "Receipt File",
|
||||
),
|
||||
),
|
||||
],
|
||||
)));
|
||||
Center(
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Color(0xff272262),
|
||||
elevation: 3,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(5.0)),
|
||||
minimumSize: Size(300, 45), //////// HERE
|
||||
),
|
||||
onPressed: () {},
|
||||
child:
|
||||
const Text('Save', style: TextStyle(fontSize: 20)),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user