WIP
This commit is contained in:
parent
60647a708d
commit
5a67d5d3f9
|
@ -1109,7 +1109,7 @@ Widget scheduleVisit(BuildContext context,
|
|||
PhpGroup.getDadosCall.reasonsJsonList(
|
||||
dropDownGetDadosResponse.jsonBody,
|
||||
);
|
||||
// Algoritmo de match
|
||||
// Algoritmo de match // PODE MANDAR DE VASCO
|
||||
if (_model.dropDownValue1 != null &&
|
||||
_model.dropDownValue1!.isNotEmpty) {
|
||||
final matchedValue =
|
||||
|
@ -1597,24 +1597,14 @@ Widget scheduleVisit(BuildContext context,
|
|||
child: Dialog(
|
||||
alignment: Alignment.topCenter,
|
||||
child: SizedBox(
|
||||
// width: MediaQuery.of(context).size.width,
|
||||
// height: MediaQuery.of(context).size.height * 0.7,
|
||||
// child: VisitDetailsModalTemplateComponentWidget(
|
||||
// visitStartDateStr: _model.textController1.text,
|
||||
// visitEndDateStr: _model.textController2.text,
|
||||
// visitReasonStr: _model.dropDownValue1,
|
||||
// visitLevelStr: _model.dropDownValue2,
|
||||
// visitTempStr:
|
||||
// _model.switchValue == true ? 'Sim' : 'Não',
|
||||
// visitObsStr: _model.textController3.text,
|
||||
// visitorStrList: _model.visitorStrList,
|
||||
// visitorJsonList: _model.visitorJsonList,
|
||||
// updateToggleIdx: () async {},
|
||||
// repeatVisitSchedule: () async {},
|
||||
// ),
|
||||
child: VisitRequestTemplateComponentWidget(
|
||||
buttons: [
|
||||
FlutterFlowIconButton(
|
||||
FFButtonWidget(
|
||||
text: FFLocalizations.of(context)
|
||||
.getVariableText(
|
||||
enText: 'Done',
|
||||
ptText: 'Confirmar',
|
||||
),
|
||||
icon: const Icon(Icons.done),
|
||||
onPressed: () async {
|
||||
log('visitorStrList ${_model.visitorStrList}');
|
||||
|
@ -1685,6 +1675,23 @@ Widget scheduleVisit(BuildContext context,
|
|||
safeSetState(() {});
|
||||
});
|
||||
},
|
||||
options: FFButtonOptions(
|
||||
width: 130,
|
||||
height: 40,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
.primaryBackground,
|
||||
elevation: 0,
|
||||
textStyle: TextStyle(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
.primaryText,
|
||||
),
|
||||
borderSide: BorderSide(
|
||||
color: FlutterFlowTheme.of(context)
|
||||
.primaryBackground,
|
||||
width: 1,
|
||||
),
|
||||
// borderRadius: 12,
|
||||
),
|
||||
),
|
||||
],
|
||||
imagePath:
|
||||
|
|
Loading…
Reference in New Issue