Updating to latest FlutterFlow output.
This commit is contained in:
parent
1af0fc6ac0
commit
7345882967
|
@ -44,8 +44,8 @@
|
|||
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
||||
97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
6436409E27A31CD800820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
6436409927A31CD300820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
6436409927A31CD100820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
6436409727A31CD000820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
|
@ -225,8 +225,8 @@
|
|||
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
6436409E27A31CD800820AF7 /* pt */,
|
||||
6436409927A31CD300820AF7 /* en */,
|
||||
6436409927A31CD100820AF7 /* pt */,
|
||||
6436409727A31CD000820AF7 /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
|
|
|
@ -24,6 +24,10 @@ class VisitRequestTemplateComponentModel
|
|||
FocusNode? textFieldFocusNode4;
|
||||
TextEditingController? textController4;
|
||||
String? Function(BuildContext, String?)? textController4Validator;
|
||||
// State field(s) for TextField widget.
|
||||
FocusNode? textFieldFocusNode5;
|
||||
TextEditingController? textController5;
|
||||
String? Function(BuildContext, String?)? textController5Validator;
|
||||
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
||||
bool? blockVisitRequest;
|
||||
// Stores action output result for [Action Block - visitRequestComponentAction] action in IconButton widget.
|
||||
|
@ -45,6 +49,9 @@ class VisitRequestTemplateComponentModel
|
|||
|
||||
textFieldFocusNode4?.dispose();
|
||||
textController4?.dispose();
|
||||
|
||||
textFieldFocusNode5?.dispose();
|
||||
textController5?.dispose();
|
||||
}
|
||||
|
||||
/// Action blocks.
|
||||
|
|
|
@ -14,14 +14,14 @@ class VisitRequestTemplateComponentWidget extends StatefulWidget {
|
|||
required this.vteName,
|
||||
required this.vteReason,
|
||||
required this.vteMsg,
|
||||
required this.vteDocument,
|
||||
required this.cliUUID,
|
||||
required this.vteUUID,
|
||||
required this.vawName,
|
||||
required this.msgUUID,
|
||||
required this.vawRef,
|
||||
required this.vawUUID,
|
||||
required this.vawDestino,
|
||||
this.vteDocument,
|
||||
this.cliUUID,
|
||||
this.vteUUID,
|
||||
this.vawName,
|
||||
this.msgUUID,
|
||||
this.vawRef,
|
||||
this.vawUUID,
|
||||
this.vawDestino,
|
||||
required this.vawStatus,
|
||||
this.vawDate,
|
||||
});
|
||||
|
@ -69,8 +69,11 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
_model.textController3 ??= TextEditingController(text: widget.vteMsg);
|
||||
_model.textFieldFocusNode3 ??= FocusNode();
|
||||
|
||||
_model.textController4 ??= TextEditingController();
|
||||
_model.textController4 ??= TextEditingController(text: widget.vawDate);
|
||||
_model.textFieldFocusNode4 ??= FocusNode();
|
||||
|
||||
_model.textController5 ??= TextEditingController();
|
||||
_model.textFieldFocusNode5 ??= FocusNode();
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -320,7 +323,7 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
decoration: InputDecoration(
|
||||
isDense: true,
|
||||
labelText: FFLocalizations.of(context).getText(
|
||||
'kt87omsz' /* Data */,
|
||||
'kt87omsz' /* Mensagem */,
|
||||
),
|
||||
labelStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
|
@ -364,13 +367,72 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
_model.textController3Validator.asValidator(context),
|
||||
),
|
||||
),
|
||||
if (widget.vawStatus != 'S')
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsetsDirectional.fromSTEB(24.0, 0.0, 24.0, 0.0),
|
||||
child: TextFormField(
|
||||
controller: _model.textController4,
|
||||
focusNode: _model.textFieldFocusNode4,
|
||||
autofocus: false,
|
||||
textCapitalization: TextCapitalization.none,
|
||||
textInputAction: TextInputAction.next,
|
||||
readOnly: true,
|
||||
obscureText: false,
|
||||
decoration: InputDecoration(
|
||||
isDense: true,
|
||||
labelText: FFLocalizations.of(context).getText(
|
||||
'yyni99pe' /* Data */,
|
||||
),
|
||||
labelStyle: FlutterFlowTheme.of(context)
|
||||
.labelMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(context)
|
||||
.labelMediumFamily,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||
FlutterFlowTheme.of(context)
|
||||
.labelMediumFamily),
|
||||
),
|
||||
hintStyle:
|
||||
FlutterFlowTheme.of(context).labelMedium.override(
|
||||
fontFamily: FlutterFlowTheme.of(context)
|
||||
.labelMediumFamily,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap()
|
||||
.containsKey(FlutterFlowTheme.of(context)
|
||||
.labelMediumFamily),
|
||||
),
|
||||
enabledBorder: InputBorder.none,
|
||||
focusedBorder: InputBorder.none,
|
||||
errorBorder: InputBorder.none,
|
||||
focusedErrorBorder: InputBorder.none,
|
||||
suffixIcon: Icon(
|
||||
Icons.date_range,
|
||||
color: FlutterFlowTheme.of(context).accent1,
|
||||
),
|
||||
),
|
||||
style: FlutterFlowTheme.of(context).bodyMedium.override(
|
||||
fontFamily:
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily,
|
||||
color: FlutterFlowTheme.of(context).primaryText,
|
||||
letterSpacing: 0.0,
|
||||
useGoogleFonts: GoogleFonts.asMap().containsKey(
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
textAlign: TextAlign.start,
|
||||
validator:
|
||||
_model.textController4Validator.asValidator(context),
|
||||
),
|
||||
),
|
||||
if (widget.vawStatus == 'S')
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsetsDirectional.fromSTEB(24.0, 20.0, 24.0, 20.0),
|
||||
child: TextFormField(
|
||||
controller: _model.textController4,
|
||||
focusNode: _model.textFieldFocusNode4,
|
||||
controller: _model.textController5,
|
||||
focusNode: _model.textFieldFocusNode5,
|
||||
autofocus: false,
|
||||
textInputAction: TextInputAction.next,
|
||||
obscureText: false,
|
||||
|
@ -443,7 +505,7 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
validator:
|
||||
_model.textController4Validator.asValidator(context),
|
||||
_model.textController5Validator.asValidator(context),
|
||||
),
|
||||
),
|
||||
if (widget.vawStatus == 'S')
|
||||
|
@ -468,7 +530,7 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
context,
|
||||
actionValue: 'B',
|
||||
refUUID: widget.vawRef,
|
||||
responseValue: _model.textController4.text,
|
||||
responseValue: _model.textController5.text,
|
||||
vteUUID: widget.vteUUID,
|
||||
);
|
||||
shouldSetState = true;
|
||||
|
@ -499,7 +561,7 @@ class _VisitRequestTemplateComponentWidgetState
|
|||
context,
|
||||
actionValue: 'L',
|
||||
refUUID: widget.vawRef,
|
||||
responseValue: _model.textController4.text,
|
||||
responseValue: _model.textController5.text,
|
||||
vteUUID: widget.vteUUID,
|
||||
);
|
||||
shouldSetState = true;
|
||||
|
|
|
@ -998,10 +998,18 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
|||
'en': 'Reason',
|
||||
},
|
||||
'kt87omsz': {
|
||||
'pt': 'Mensagem',
|
||||
'en': 'Message',
|
||||
},
|
||||
'cx6sviir': {
|
||||
'pt': '',
|
||||
'en': '',
|
||||
},
|
||||
'yyni99pe': {
|
||||
'pt': 'Data',
|
||||
'en': 'Date',
|
||||
},
|
||||
'cx6sviir': {
|
||||
'noktw1kq': {
|
||||
'pt': '',
|
||||
'en': '',
|
||||
},
|
||||
|
|
|
@ -224,13 +224,22 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
liberationHistory[liberationHistoryIndex];
|
||||
return Align(
|
||||
alignment: const AlignmentDirectional(0.0, 0.0),
|
||||
child: InkWell(
|
||||
splashColor: Colors.transparent,
|
||||
focusColor: Colors.transparent,
|
||||
hoverColor: Colors.transparent,
|
||||
highlightColor: Colors.transparent,
|
||||
onTap: () async {
|
||||
context.pushNamed('homePage');
|
||||
},
|
||||
child: Card(
|
||||
clipBehavior: Clip.antiAliasWithSaveLayer,
|
||||
color: FlutterFlowTheme.of(context)
|
||||
.secondaryBackground,
|
||||
elevation: 5.0,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
borderRadius:
|
||||
BorderRadius.circular(8.0),
|
||||
),
|
||||
child: Container(
|
||||
width: 350.0,
|
||||
|
@ -245,17 +254,18 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsetsDirectional.fromSTEB(
|
||||
padding: const EdgeInsetsDirectional
|
||||
.fromSTEB(
|
||||
0.0, 0.0, 10.0, 0.0),
|
||||
child: ClipRRect(
|
||||
borderRadius:
|
||||
BorderRadius.circular(100.0),
|
||||
BorderRadius.circular(
|
||||
100.0),
|
||||
child: CachedNetworkImage(
|
||||
fadeInDuration:
|
||||
const Duration(milliseconds: 500),
|
||||
fadeOutDuration:
|
||||
const Duration(milliseconds: 500),
|
||||
fadeInDuration: const Duration(
|
||||
milliseconds: 500),
|
||||
fadeOutDuration: const Duration(
|
||||
milliseconds: 500),
|
||||
imageUrl:
|
||||
valueOrDefault<String>(
|
||||
'https://freaccess.com.br/freaccess/getImage.php?&cliID=${FFAppState().cliUUID}&atividade=getFoto&Documento=${getJsonField(
|
||||
|
@ -275,7 +285,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
height: 100.0,
|
||||
decoration: const BoxDecoration(),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.max,
|
||||
mainAxisSize:
|
||||
MainAxisSize.max,
|
||||
children: [
|
||||
Row(
|
||||
mainAxisSize:
|
||||
|
@ -300,7 +311,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
.bodyMediumFamily,
|
||||
fontSize: 12.5,
|
||||
fontSize:
|
||||
12.5,
|
||||
letterSpacing:
|
||||
0.0,
|
||||
fontWeight:
|
||||
|
@ -324,7 +336,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
mainAxisSize:
|
||||
MainAxisSize.max,
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.start,
|
||||
MainAxisAlignment
|
||||
.start,
|
||||
children: [
|
||||
Text(
|
||||
FFLocalizations.of(
|
||||
|
@ -332,16 +345,14 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
.getText(
|
||||
'dkzewokx' /* Date: */,
|
||||
),
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
context)
|
||||
style: FlutterFlowTheme
|
||||
.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
.bodyMediumFamily,
|
||||
fontSize:
|
||||
12.5,
|
||||
fontSize: 12.5,
|
||||
letterSpacing:
|
||||
0.0,
|
||||
fontWeight:
|
||||
|
@ -370,16 +381,14 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
r'''$.NOT_DTENVIO''',
|
||||
))
|
||||
.toString(),
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
context)
|
||||
style: FlutterFlowTheme
|
||||
.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
.bodyMediumFamily,
|
||||
fontSize:
|
||||
12.5,
|
||||
fontSize: 12.5,
|
||||
letterSpacing:
|
||||
0.0,
|
||||
useGoogleFonts: GoogleFonts
|
||||
|
@ -399,7 +408,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
mainAxisSize:
|
||||
MainAxisSize.max,
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.start,
|
||||
MainAxisAlignment
|
||||
.start,
|
||||
children: [
|
||||
Text(
|
||||
FFLocalizations.of(
|
||||
|
@ -407,16 +417,14 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
.getText(
|
||||
'2s9avwbq' /* Motivo: */,
|
||||
),
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
context)
|
||||
style: FlutterFlowTheme
|
||||
.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
.bodyMediumFamily,
|
||||
fontSize:
|
||||
12.5,
|
||||
fontSize: 12.5,
|
||||
letterSpacing:
|
||||
0.0,
|
||||
fontWeight:
|
||||
|
@ -434,16 +442,14 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
liberationHistoryItem,
|
||||
r'''$.NOT_MOTIVO''',
|
||||
).toString(),
|
||||
style:
|
||||
FlutterFlowTheme.of(
|
||||
context)
|
||||
style: FlutterFlowTheme
|
||||
.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
.bodyMediumFamily,
|
||||
fontSize:
|
||||
12.5,
|
||||
fontSize: 12.5,
|
||||
letterSpacing:
|
||||
0.0,
|
||||
useGoogleFonts: GoogleFonts
|
||||
|
@ -476,7 +482,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
height: 27.0,
|
||||
decoration:
|
||||
BoxDecoration(
|
||||
color: valueOrDefault<
|
||||
color:
|
||||
valueOrDefault<
|
||||
Color>(
|
||||
() {
|
||||
if (functions
|
||||
|
@ -595,8 +602,8 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
.of(context)
|
||||
.bodyMedium
|
||||
.override(
|
||||
fontFamily: FlutterFlowTheme.of(
|
||||
context)
|
||||
fontFamily:
|
||||
FlutterFlowTheme.of(context)
|
||||
.bodyMediumFamily,
|
||||
color: FlutterFlowTheme.of(
|
||||
context)
|
||||
|
@ -606,15 +613,15 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
useGoogleFonts: GoogleFonts
|
||||
.asMap()
|
||||
.containsKey(
|
||||
FlutterFlowTheme.of(context)
|
||||
.bodyMediumFamily),
|
||||
FlutterFlowTheme.of(context).bodyMediumFamily),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
].divide(const SizedBox(height: 3.0)),
|
||||
].divide(
|
||||
const SizedBox(height: 3.0)),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -622,6 +629,7 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue