PAP-625: add option “not classified”.

fix_bugs_Mar
Elham Rababah 4 years ago
parent 6e7f62ca21
commit 96117fd191

@ -410,7 +410,7 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
),
)),
SizedBox(
height: 45,
height: 100,
),
],
),
@ -418,14 +418,15 @@ class _SendFeedbackPageState extends State<SendFeedbackPage> {
),
),
bottomSheet: Container(
height: MediaQuery.of(context).size.height * 0.09,
height: MediaQuery.of(context).size.height * 0.12,
width: double.infinity,
padding: EdgeInsets.all(15.0),
child: Center(
child: Container(
height: MediaQuery.of(context).size.height * 0.8,
height: MediaQuery.of(context).size.height * 0.1,
child: SecondaryButton(
label: TranslationBase.of(context).send,
textColor: Colors.white,
disabled: (titleController.text.toString().isEmpty || messageController.text.toString().isEmpty|| messageType == MessageType.NON),
onTap: () {
final form = formKey.currentState;
@ -556,6 +557,30 @@ class FeedbackTypeDialogState extends State<FeedbackTypeDialog> {
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: Theme.of(context).primaryColor,
onChanged: (MessageType value) =>
setMessageDialogType(value),
),
),
),
)
],
),
SizedBox(
height: 5.0,
),
Row(
children: <Widget>[
Expanded(

Loading…
Cancel
Save