|
|
|
|
@ -397,21 +397,21 @@ class _CreateServiceReportState extends State<CreateServiceReport> with TickerPr
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
if (_showCommentField)
|
|
|
|
|
const SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
if (_showCommentField)
|
|
|
|
|
ATextFormField(
|
|
|
|
|
initialValue: _serviceReport?.reviewComment,
|
|
|
|
|
hintText: "Review Comment",
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
style: Theme.of(context).textTheme.titleMedium,
|
|
|
|
|
textInputType: TextInputType.multiline,
|
|
|
|
|
onSaved: (value) {
|
|
|
|
|
_serviceReport.reviewComment = value;
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
// if (_showCommentField)
|
|
|
|
|
// const SizedBox(
|
|
|
|
|
// height: 8,
|
|
|
|
|
// ),
|
|
|
|
|
// if (_showCommentField)
|
|
|
|
|
// ATextFormField(
|
|
|
|
|
// initialValue: _serviceReport?.reviewComment,
|
|
|
|
|
// hintText: "Review Comment",
|
|
|
|
|
// textAlign: TextAlign.center,
|
|
|
|
|
// style: Theme.of(context).textTheme.titleMedium,
|
|
|
|
|
// textInputType: TextInputType.multiline,
|
|
|
|
|
// onSaved: (value) {
|
|
|
|
|
// _serviceReport.reviewComment = value;
|
|
|
|
|
// },
|
|
|
|
|
// ),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8 * AppStyle.getScaleFactor(context),
|
|
|
|
|
),
|
|
|
|
|
|