|
|
|
|
@ -499,41 +499,41 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
// todo 'sikander' remove useless code
|
|
|
|
|
showDialog(
|
|
|
|
|
context: context,
|
|
|
|
|
child: FeedbackTypeDialog(
|
|
|
|
|
messageTypeDialog: messageType,
|
|
|
|
|
onValueSelected: (MessageType value) {
|
|
|
|
|
if (value == MessageType.ComplaintOnAnAppointment) {
|
|
|
|
|
appoList.clear();
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
service.getPatientAppointmentHistory(false, context, isForCOC: true).then((res) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
setState(() {
|
|
|
|
|
if (res['MessageStatus'] == 1) {
|
|
|
|
|
if (res['AppoimentAllHistoryResultList'].length != 0) {
|
|
|
|
|
res['AppoimentAllHistoryResultList'].forEach((v) {
|
|
|
|
|
appoList.add(new AppoitmentAllHistoryResultList.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
setState(() {
|
|
|
|
|
appointHistory = null;
|
|
|
|
|
isShowListAppointHistory = true;
|
|
|
|
|
});
|
|
|
|
|
} else {}
|
|
|
|
|
} else {}
|
|
|
|
|
});
|
|
|
|
|
}).catchError((err) {
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
// print(err);
|
|
|
|
|
// AppToast.showErrorToast(message: err);
|
|
|
|
|
// Navigator.of(context).pop();
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
isShowListAppointHistory = false;
|
|
|
|
|
}
|
|
|
|
|
setMessageType(value);
|
|
|
|
|
},
|
|
|
|
|
));
|
|
|
|
|
// showDialog(
|
|
|
|
|
// context: context,
|
|
|
|
|
// child: FeedbackTypeDialog(
|
|
|
|
|
// messageTypeDialog: messageType,
|
|
|
|
|
// onValueSelected: (MessageType value) {
|
|
|
|
|
// if (value == MessageType.ComplaintOnAnAppointment) {
|
|
|
|
|
// appoList.clear();
|
|
|
|
|
// GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
// service.getPatientAppointmentHistory(false, context, isForCOC: true).then((res) {
|
|
|
|
|
// GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
// setState(() {
|
|
|
|
|
// if (res['MessageStatus'] == 1) {
|
|
|
|
|
// if (res['AppoimentAllHistoryResultList'].length != 0) {
|
|
|
|
|
// res['AppoimentAllHistoryResultList'].forEach((v) {
|
|
|
|
|
// appoList.add(new AppoitmentAllHistoryResultList.fromJson(v));
|
|
|
|
|
// });
|
|
|
|
|
// setState(() {
|
|
|
|
|
// appointHistory = null;
|
|
|
|
|
// isShowListAppointHistory = true;
|
|
|
|
|
// });
|
|
|
|
|
// } else {}
|
|
|
|
|
// } else {}
|
|
|
|
|
// });
|
|
|
|
|
// }).catchError((err) {
|
|
|
|
|
// GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
// // print(err);
|
|
|
|
|
// // AppToast.showErrorToast(message: err);
|
|
|
|
|
// // Navigator.of(context).pop();
|
|
|
|
|
// });
|
|
|
|
|
// } else {
|
|
|
|
|
// isShowListAppointHistory = false;
|
|
|
|
|
// }
|
|
|
|
|
// setMessageType(value);
|
|
|
|
|
// },
|
|
|
|
|
// ));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
openSpeechReco() async {
|
|
|
|
|
@ -587,238 +587,238 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
|
|
|
|
|
if (!mounted) return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class FeedbackTypeDialog extends StatefulWidget {
|
|
|
|
|
final Function(MessageType) onValueSelected;
|
|
|
|
|
final MessageType messageTypeDialog;
|
|
|
|
|
|
|
|
|
|
const FeedbackTypeDialog({Key key, this.onValueSelected, this.messageTypeDialog = MessageType.NON}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
State createState() => new FeedbackTypeDialogState();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class FeedbackTypeDialogState extends State<FeedbackTypeDialog> {
|
|
|
|
|
MessageType messageTypeDialog = MessageType.NON;
|
|
|
|
|
|
|
|
|
|
setMessageDialogType(MessageType messageType) {
|
|
|
|
|
setState(() {
|
|
|
|
|
messageTypeDialog = messageType;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
void initState() {
|
|
|
|
|
messageTypeDialog = widget.messageTypeDialog;
|
|
|
|
|
|
|
|
|
|
super.initState();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return BaseView<FeedbackViewModel>(
|
|
|
|
|
builder: (_, model, widge) => SimpleDialog(
|
|
|
|
|
title: Text(
|
|
|
|
|
TranslationBase.of(context).messageType,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
),
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
// padding: const EdgeInsets.all(10.0),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Divider(
|
|
|
|
|
height: 2.5,
|
|
|
|
|
color: Colors.grey[500],
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.NON),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).notClassified),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.NON,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.ComplaintOnAnAppointment),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).complainAppo),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.ComplaintOnAnAppointment,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.ComplaintWithoutAppointment),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).complainWithoutAppo),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.ComplaintWithoutAppointment,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.Question),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).question),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.Question,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.Compliment),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).compliment),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.Compliment,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => setMessageDialogType(MessageType.Suggestion),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title: Texts(TranslationBase.of(context).suggestion),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: MessageType.Suggestion,
|
|
|
|
|
groupValue: messageTypeDialog,
|
|
|
|
|
activeColor: CustomColors.accentColor,
|
|
|
|
|
onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5.0,
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
height: 2.5,
|
|
|
|
|
color: Colors.grey[500],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
},
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: EdgeInsets.all(8.0),
|
|
|
|
|
child: Container(
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Texts(
|
|
|
|
|
TranslationBase.of(context).cancel,
|
|
|
|
|
color: CustomColors.accentColor,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: 1,
|
|
|
|
|
height: 30,
|
|
|
|
|
color: Colors.grey[500],
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
flex: 1,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
widget.onValueSelected(messageTypeDialog);
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
},
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Texts(
|
|
|
|
|
TranslationBase.of(context).ok,
|
|
|
|
|
fontWeight: FontWeight.w400,
|
|
|
|
|
)),
|
|
|
|
|
),
|
|
|
|
|
)),
|
|
|
|
|
],
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// todo 'sikander' remove useless code
|
|
|
|
|
// class FeedbackTypeDialog extends StatefulWidget {
|
|
|
|
|
// final Function(MessageType) onValueSelected;
|
|
|
|
|
// final MessageType messageTypeDialog;
|
|
|
|
|
//
|
|
|
|
|
// const FeedbackTypeDialog({Key key, this.onValueSelected, this.messageTypeDialog = MessageType.NON}) : super(key: key);
|
|
|
|
|
//
|
|
|
|
|
// @override
|
|
|
|
|
// State createState() => new FeedbackTypeDialogState();
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// class FeedbackTypeDialogState extends State<FeedbackTypeDialog> {
|
|
|
|
|
// MessageType messageTypeDialog = MessageType.NON;
|
|
|
|
|
//
|
|
|
|
|
// setMessageDialogType(MessageType messageType) {
|
|
|
|
|
// setState(() {
|
|
|
|
|
// messageTypeDialog = messageType;
|
|
|
|
|
// });
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// @override
|
|
|
|
|
// void initState() {
|
|
|
|
|
// messageTypeDialog = widget.messageTypeDialog;
|
|
|
|
|
//
|
|
|
|
|
// super.initState();
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// Widget build(BuildContext context) {
|
|
|
|
|
// return BaseView<FeedbackViewModel>(
|
|
|
|
|
// builder: (_, model, widge) => SimpleDialog(
|
|
|
|
|
// title: Text(
|
|
|
|
|
// TranslationBase.of(context).messageType,
|
|
|
|
|
// textAlign: TextAlign.center,
|
|
|
|
|
// ),
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Container(
|
|
|
|
|
// // padding: const EdgeInsets.all(10.0),
|
|
|
|
|
// child: Column(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Divider(
|
|
|
|
|
// height: 2.5,
|
|
|
|
|
// color: Colors.grey[500],
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.NON),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).notClassified),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.NON,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.ComplaintOnAnAppointment),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).complainAppo),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.ComplaintOnAnAppointment,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.ComplaintWithoutAppointment),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).complainWithoutAppo),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.ComplaintWithoutAppointment,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.Question),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).question),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.Question,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.Compliment),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).compliment),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.Compliment,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () => setMessageDialogType(MessageType.Suggestion),
|
|
|
|
|
// child: ListTile(
|
|
|
|
|
// title: Texts(TranslationBase.of(context).suggestion),
|
|
|
|
|
// leading: Radio(
|
|
|
|
|
// value: MessageType.Suggestion,
|
|
|
|
|
// groupValue: messageTypeDialog,
|
|
|
|
|
// activeColor: CustomColors.accentColor,
|
|
|
|
|
// onChanged: (MessageType value) => setMessageDialogType(value),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5.0,
|
|
|
|
|
// ),
|
|
|
|
|
// Divider(
|
|
|
|
|
// height: 2.5,
|
|
|
|
|
// color: Colors.grey[500],
|
|
|
|
|
// ),
|
|
|
|
|
// SizedBox(
|
|
|
|
|
// height: 5,
|
|
|
|
|
// ),
|
|
|
|
|
// Row(
|
|
|
|
|
// // mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
// children: <Widget>[
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () {
|
|
|
|
|
// Navigator.pop(context);
|
|
|
|
|
// },
|
|
|
|
|
// child: Padding(
|
|
|
|
|
// padding: EdgeInsets.all(8.0),
|
|
|
|
|
// child: Container(
|
|
|
|
|
// child: Center(
|
|
|
|
|
// child: Texts(
|
|
|
|
|
// TranslationBase.of(context).cancel,
|
|
|
|
|
// color: CustomColors.accentColor,
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// Container(
|
|
|
|
|
// width: 1,
|
|
|
|
|
// height: 30,
|
|
|
|
|
// color: Colors.grey[500],
|
|
|
|
|
// ),
|
|
|
|
|
// Expanded(
|
|
|
|
|
// flex: 1,
|
|
|
|
|
// child: InkWell(
|
|
|
|
|
// onTap: () {
|
|
|
|
|
// widget.onValueSelected(messageTypeDialog);
|
|
|
|
|
// Navigator.pop(context);
|
|
|
|
|
// },
|
|
|
|
|
// child: Padding(
|
|
|
|
|
// padding: const EdgeInsets.all(8.0),
|
|
|
|
|
// child: Center(
|
|
|
|
|
// child: Texts(
|
|
|
|
|
// TranslationBase.of(context).ok,
|
|
|
|
|
// fontWeight: FontWeight.w400,
|
|
|
|
|
// )),
|
|
|
|
|
// ),
|
|
|
|
|
// )),
|
|
|
|
|
// ],
|
|
|
|
|
// )
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// ],
|
|
|
|
|
// ),
|
|
|
|
|
// );
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|