|
|
|
|
@ -411,10 +411,7 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
|
|
|
|
|
.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.width * 0.8,
|
|
|
|
|
height: MediaQuery
|
|
|
|
|
.of(context)
|
|
|
|
|
.size
|
|
|
|
|
.height * 0.3,
|
|
|
|
|
height: 200,
|
|
|
|
|
child: AppScaffold(
|
|
|
|
|
isShowAppBar: false,
|
|
|
|
|
body: Container(
|
|
|
|
|
@ -422,54 +419,61 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
|
|
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
// SizedBox(height: 20,),
|
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
|
AppText(
|
|
|
|
|
"Confirm", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 16,),
|
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
|
SizedBox(height: 10,),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
AppText(
|
|
|
|
|
"Confirm", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 16,),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 10,),
|
|
|
|
|
DividerWithSpacesAround(),
|
|
|
|
|
SizedBox(height: 12,),
|
|
|
|
|
|
|
|
|
|
Container(
|
|
|
|
|
padding: EdgeInsets.all(20),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
child: Expanded(
|
|
|
|
|
child: AppText(
|
|
|
|
|
'Are you sure you want $actionName this order?',
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
),
|
|
|
|
|
child: AppText(
|
|
|
|
|
'Are you sure you want $actionName this order?',
|
|
|
|
|
fontSize: 15,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
SizedBox(height: 30,),
|
|
|
|
|
SizedBox(height: 8,),
|
|
|
|
|
DividerWithSpacesAround(),
|
|
|
|
|
// SizedBox(height: 30,),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
FlatButton(
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Cancel", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 16,),//Text("Cancel"),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
}),
|
|
|
|
|
FlatButton(
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Confirm", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.red.shade700,
|
|
|
|
|
fontSize: 16,), //Text("Confirm", ),
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
await confirmFun();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
})
|
|
|
|
|
FractionallySizedBox(
|
|
|
|
|
widthFactor: 0.75,
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
FlatButton(
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Cancel", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
fontSize: 16,),//Text("Cancel"),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
}),
|
|
|
|
|
FlatButton(
|
|
|
|
|
child: AppText(
|
|
|
|
|
"Confirm", fontWeight: FontWeight.w600,
|
|
|
|
|
color: Colors.red.shade700,
|
|
|
|
|
fontSize: 16,), //Text("Confirm", ),
|
|
|
|
|
onPressed: () async {
|
|
|
|
|
await confirmFun();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|