|
|
@ -107,6 +107,7 @@ class _CreateServiceReportState extends State<CreateServiceReport> with TickerPr
|
|
|
|
child: Stack(
|
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
ListView(
|
|
|
|
ListView(
|
|
|
|
|
|
|
|
padding: const EdgeInsets.all(16),
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
//AppNameBar(),
|
|
|
|
//AppNameBar(),
|
|
|
|
const SizedBox(
|
|
|
|
const SizedBox(
|
|
|
@ -673,37 +674,37 @@ class _CreateServiceReportState extends State<CreateServiceReport> with TickerPr
|
|
|
|
const SizedBox(
|
|
|
|
const SizedBox(
|
|
|
|
height: 8,
|
|
|
|
height: 8,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
// Row(
|
|
|
|
children: [
|
|
|
|
// children: [
|
|
|
|
ASubTitle(_subtitle.workPreformed),
|
|
|
|
// ASubTitle(_subtitle.workPreformed),
|
|
|
|
Expanded(
|
|
|
|
// Expanded(
|
|
|
|
child: SizedBox(
|
|
|
|
// child: SizedBox(
|
|
|
|
height: 32 * AppStyle.getScaleFactor(context),
|
|
|
|
// height: 32 * AppStyle.getScaleFactor(context),
|
|
|
|
child: SpeechToTextButton(
|
|
|
|
// child: SpeechToTextButton(
|
|
|
|
controller: _workPreformedController,
|
|
|
|
// controller: _workPreformedController,
|
|
|
|
mini: true,
|
|
|
|
// mini: true,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
],
|
|
|
|
// ],
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
const SizedBox(
|
|
|
|
// const SizedBox(
|
|
|
|
height: 4,
|
|
|
|
// height: 4,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
ATextFormField(
|
|
|
|
// ATextFormField(
|
|
|
|
initialValue: _serviceReport?.workPreformed,
|
|
|
|
// initialValue: _serviceReport?.workPreformed,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
// textAlign: TextAlign.center,
|
|
|
|
controller: _workPreformedController,
|
|
|
|
// controller: _workPreformedController,
|
|
|
|
style: Theme.of(context).textTheme.subtitle1,
|
|
|
|
// style: Theme.of(context).textTheme.subtitle1,
|
|
|
|
validator: (value) => Validator.hasValue(value) ? null : _subtitle.requiredWord,
|
|
|
|
// validator: (value) => Validator.hasValue(value) ? null : _subtitle.requiredWord,
|
|
|
|
textInputType: TextInputType.multiline,
|
|
|
|
// textInputType: TextInputType.multiline,
|
|
|
|
onSaved: (value) {
|
|
|
|
// onSaved: (value) {
|
|
|
|
_serviceReport.workPreformed = value;
|
|
|
|
// _serviceReport.workPreformed = value;
|
|
|
|
},
|
|
|
|
// },
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
const SizedBox(
|
|
|
|
// const SizedBox(
|
|
|
|
height: 8,
|
|
|
|
// height: 8,
|
|
|
|
),
|
|
|
|
// ),
|
|
|
|
|
|
|
|
|
|
|
|
const SizedBox(height: 8),
|
|
|
|
const SizedBox(height: 8),
|
|
|
|
Row(
|
|
|
|
Row(
|
|
|
|