|
|
|
|
@ -95,32 +95,41 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
|
|
|
|
|
widthFactor: 0.9,
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
hintText: widget.visitType == 3
|
|
|
|
|
? (widget.isUpdate ? 'Update' : 'Add') +
|
|
|
|
|
' Order Sheet'
|
|
|
|
|
: (widget.isUpdate ? 'Update' : 'Add') +
|
|
|
|
|
' Progress Note',
|
|
|
|
|
//TranslationBase.of(context).addProgressNote,
|
|
|
|
|
controller: progressNoteController,
|
|
|
|
|
maxLines: 35,
|
|
|
|
|
minLines: 25,
|
|
|
|
|
hasBorder: true,
|
|
|
|
|
suffixIcon: IconButton(
|
|
|
|
|
icon: Icon(
|
|
|
|
|
DoctorApp.speechtotext,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
Stack(
|
|
|
|
|
children: [
|
|
|
|
|
AppTextFieldCustom(
|
|
|
|
|
hintText: widget.visitType == 3
|
|
|
|
|
? (widget.isUpdate ? 'Update' : 'Add') +
|
|
|
|
|
' Order Sheet'
|
|
|
|
|
: (widget.isUpdate ? 'Update' : 'Add') +
|
|
|
|
|
' Progress Note',
|
|
|
|
|
//TranslationBase.of(context).addProgressNote,
|
|
|
|
|
controller: progressNoteController,
|
|
|
|
|
maxLines: 35,
|
|
|
|
|
minLines: 25,
|
|
|
|
|
hasBorder: true,
|
|
|
|
|
|
|
|
|
|
// isTextFieldHasSuffix: true,
|
|
|
|
|
validationError:
|
|
|
|
|
progressNoteController.text.isEmpty && isSubmitted
|
|
|
|
|
? TranslationBase.of(context).emptyMessage
|
|
|
|
|
: null,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
onVoiceText();
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
isTextFieldHasSuffix: true,
|
|
|
|
|
validationError:
|
|
|
|
|
progressNoteController.text.isEmpty && isSubmitted
|
|
|
|
|
? TranslationBase.of(context).emptyMessage
|
|
|
|
|
: null,
|
|
|
|
|
|
|
|
|
|
Positioned(
|
|
|
|
|
top: 0,//MediaQuery.of(context).size.height * 0,
|
|
|
|
|
right: 15,
|
|
|
|
|
child: IconButton(
|
|
|
|
|
icon: Icon(
|
|
|
|
|
DoctorApp.speechtotext,
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
onVoiceText();
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|