fet: Alterações na Tela de Agendamento Provisorio
This commit is contained in:
parent
08a8538be5
commit
cee23db0e9
|
@ -44,8 +44,8 @@
|
||||||
97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
|
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>"; };
|
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>"; };
|
97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||||
6436409727A31CDC00820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409627A31CDB00820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||||
6436409027A31CD400820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
6436409827A31CDD00820AF7 /* 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>"; };
|
97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
|
@ -225,8 +225,8 @@
|
||||||
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
6436409C27A31CD800820AF7 /* InfoPlist.strings */ = {
|
||||||
isa = PBXVariantGroup;
|
isa = PBXVariantGroup;
|
||||||
children = (
|
children = (
|
||||||
6436409727A31CDC00820AF7 /* pt */,
|
6436409627A31CDB00820AF7 /* pt */,
|
||||||
6436409027A31CD400820AF7 /* en */,
|
6436409827A31CDD00820AF7 /* en */,
|
||||||
);
|
);
|
||||||
name = InfoPlist.strings;
|
name = InfoPlist.strings;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
|
@ -125,7 +125,7 @@ Future singInLoginAction(
|
||||||
(loginCall.jsonBody ?? ''),
|
(loginCall.jsonBody ?? ''),
|
||||||
)!;
|
)!;
|
||||||
FFAppState().createdAt = dateTimeFormat(
|
FFAppState().createdAt = dateTimeFormat(
|
||||||
'd/M/y H:mm:ss',
|
"d/M/y H:mm:ss",
|
||||||
getCurrentTimestamp,
|
getCurrentTimestamp,
|
||||||
locale: FFLocalizations.of(context).languageCode,
|
locale: FFLocalizations.of(context).languageCode,
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
import '/backend/api_requests/api_calls.dart';
|
import '/backend/api_requests/api_calls.dart';
|
||||||
import '/flutter_flow/flutter_flow_util.dart';
|
import '/flutter_flow/flutter_flow_util.dart';
|
||||||
import 'visit_request_template_component_widget.dart'
|
import 'details_component_widget.dart' show DetailsComponentWidget;
|
||||||
show VisitRequestTemplateComponentWidget;
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class VisitRequestTemplateComponentModel
|
class DetailsComponentModel extends FlutterFlowModel<DetailsComponentWidget> {
|
||||||
extends FlutterFlowModel<VisitRequestTemplateComponentWidget> {
|
|
||||||
/// State fields for stateful widgets in this component.
|
/// State fields for stateful widgets in this component.
|
||||||
|
|
||||||
// State field(s) for TextField widget.
|
// State field(s) for TextField widget.
|
|
@ -5,11 +5,11 @@ import 'package:cached_network_image/cached_network_image.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:google_fonts/google_fonts.dart';
|
import 'package:google_fonts/google_fonts.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
import 'visit_request_template_component_model.dart';
|
import 'details_component_model.dart';
|
||||||
export 'visit_request_template_component_model.dart';
|
export 'details_component_model.dart';
|
||||||
|
|
||||||
class VisitRequestTemplateComponentWidget extends StatefulWidget {
|
class DetailsComponentWidget extends StatefulWidget {
|
||||||
const VisitRequestTemplateComponentWidget({
|
const DetailsComponentWidget({
|
||||||
super.key,
|
super.key,
|
||||||
required this.vteName,
|
required this.vteName,
|
||||||
required this.vteReason,
|
required this.vteReason,
|
||||||
|
@ -41,13 +41,11 @@ class VisitRequestTemplateComponentWidget extends StatefulWidget {
|
||||||
final String? vawDate;
|
final String? vawDate;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
State<VisitRequestTemplateComponentWidget> createState() =>
|
State<DetailsComponentWidget> createState() => _DetailsComponentWidgetState();
|
||||||
_VisitRequestTemplateComponentWidgetState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class _VisitRequestTemplateComponentWidgetState
|
class _DetailsComponentWidgetState extends State<DetailsComponentWidget> {
|
||||||
extends State<VisitRequestTemplateComponentWidget> {
|
late DetailsComponentModel _model;
|
||||||
late VisitRequestTemplateComponentModel _model;
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void setState(VoidCallback callback) {
|
void setState(VoidCallback callback) {
|
||||||
|
@ -58,7 +56,7 @@ class _VisitRequestTemplateComponentWidgetState
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
_model = createModel(context, () => VisitRequestTemplateComponentModel());
|
_model = createModel(context, () => DetailsComponentModel());
|
||||||
|
|
||||||
_model.textController1 ??= TextEditingController(text: widget.vteName);
|
_model.textController1 ??= TextEditingController(text: widget.vteName);
|
||||||
_model.textFieldFocusNode1 ??= FocusNode();
|
_model.textFieldFocusNode1 ??= FocusNode();
|
|
@ -17,7 +17,7 @@ class ForgotPasswordTemplateComponentModel
|
||||||
BuildContext context, String? val) {
|
BuildContext context, String? val) {
|
||||||
if (val == null || val.isEmpty) {
|
if (val == null || val.isEmpty) {
|
||||||
return FFLocalizations.of(context).getText(
|
return FFLocalizations.of(context).getText(
|
||||||
'3hqg8buh' /* E-mail é Obrigatório */,
|
'snnmkbyc' /* E-mail é Obrigatório */,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -858,7 +858,7 @@ class _ViewVisitDetailWidgetState extends State<ViewVisitDetailWidget> {
|
||||||
queryParameters: {
|
queryParameters: {
|
||||||
'visitStartDateStr': serializeParam(
|
'visitStartDateStr': serializeParam(
|
||||||
dateTimeFormat(
|
dateTimeFormat(
|
||||||
'd/M/y H:mm:ss',
|
"d/M/y H:mm:ss",
|
||||||
getCurrentTimestamp,
|
getCurrentTimestamp,
|
||||||
locale: FFLocalizations.of(context)
|
locale: FFLocalizations.of(context)
|
||||||
.languageCode,
|
.languageCode,
|
||||||
|
|
|
@ -320,46 +320,74 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
||||||
},
|
},
|
||||||
// scheduleProvisionalVisitPage
|
// scheduleProvisionalVisitPage
|
||||||
{
|
{
|
||||||
'x7at46ur': {
|
'uj8acuab': {
|
||||||
'pt': 'Quais visitantes você deseja cadastrar?',
|
'pt': 'Preencha os Campos Abaixo:',
|
||||||
'en': 'Which visitors do you want to register?',
|
'en': 'Fill in the fields below:',
|
||||||
},
|
},
|
||||||
'shj19b2o': {
|
'8d3679lf': {
|
||||||
'pt': 'Qual o período de validade da visita?',
|
'pt': 'Propriedade',
|
||||||
'en': 'Visit Validity Period',
|
'en': '',
|
||||||
},
|
},
|
||||||
'8zgsw5so': {
|
'z6aawgqa': {
|
||||||
'pt': 'Ínicio da Visita',
|
'pt': 'Dados da Visita',
|
||||||
'en': 'Start of the Visit',
|
'en': 'Visit Data',
|
||||||
},
|
|
||||||
'p16wm7kp': {
|
|
||||||
'pt': 'Quando a visitas se inicia?',
|
|
||||||
'en': 'When does the visit start?',
|
|
||||||
},
|
|
||||||
'3zfd7uf9': {
|
|
||||||
'pt': 'Qual o nome do visitante?',
|
|
||||||
'en': 'What is the visitor\'s name?',
|
|
||||||
},
|
},
|
||||||
'wehvxbz4': {
|
'wehvxbz4': {
|
||||||
'pt': 'Nome do Visitante',
|
'pt': 'Nome / Apelido do Visitante',
|
||||||
'en': 'Visitor Name',
|
'en': 'Visitor\'s Name / Nickname',
|
||||||
},
|
},
|
||||||
'juh7f24w': {
|
'juh7f24w': {
|
||||||
'pt': 'Escreva o nome do visitante aqui',
|
'pt': '',
|
||||||
'en': 'Write the visitor\'s name here',
|
'en': '',
|
||||||
},
|
},
|
||||||
'jhss056s': {
|
'8zgsw5so': {
|
||||||
'pt': 'Você tem alguma observação sobre está visita?',
|
'pt': 'Data / Hora Limite da Visita',
|
||||||
'en': 'Do you have any observations about this visit?',
|
'en': 'Visit Limit Date / Time',
|
||||||
|
},
|
||||||
|
'p16wm7kp': {
|
||||||
|
'pt': '',
|
||||||
|
'en': '',
|
||||||
},
|
},
|
||||||
'cw8b3tbb': {
|
'cw8b3tbb': {
|
||||||
'pt': 'Observações da Visita',
|
'pt': 'Observação da Visita',
|
||||||
'en': 'Visit Observations',
|
'en': 'Notes Visit',
|
||||||
},
|
},
|
||||||
'k4qkbv1f': {
|
'k4qkbv1f': {
|
||||||
'pt': 'Escreva as suas observações aqui',
|
'pt': '',
|
||||||
'en': 'Write your observations here',
|
'en': 'Write your observations here',
|
||||||
},
|
},
|
||||||
|
'bv5fg9sv': {
|
||||||
|
'pt': 'Enviar',
|
||||||
|
'en': 'Send',
|
||||||
|
},
|
||||||
|
'3hqg8buh': {
|
||||||
|
'pt': 'Nome é Obrigatório',
|
||||||
|
'en': 'Name is Required',
|
||||||
|
},
|
||||||
|
'l0b0zr50': {
|
||||||
|
'pt': 'Máximo 80 caracteres',
|
||||||
|
'en': 'Maximum 80 characters',
|
||||||
|
},
|
||||||
|
'1p76vmkn': {
|
||||||
|
'pt': 'Please choose an option from the dropdown',
|
||||||
|
'en': '',
|
||||||
|
},
|
||||||
|
'uzefkuf9': {
|
||||||
|
'pt': 'Data / Hora é Obrigatório',
|
||||||
|
'en': 'Date / Time is Required',
|
||||||
|
},
|
||||||
|
'sn6pj4tx': {
|
||||||
|
'pt': 'Please choose an option from the dropdown',
|
||||||
|
'en': '',
|
||||||
|
},
|
||||||
|
'j14it3wp': {
|
||||||
|
'pt': 'Field is required',
|
||||||
|
'en': '',
|
||||||
|
},
|
||||||
|
'ypo6pxie': {
|
||||||
|
'pt': 'Please choose an option from the dropdown',
|
||||||
|
'en': '',
|
||||||
|
},
|
||||||
'cifgwfxs': {
|
'cifgwfxs': {
|
||||||
'pt': 'Agendamento Provisório',
|
'pt': 'Agendamento Provisório',
|
||||||
'en': 'Provisional Scheduling',
|
'en': 'Provisional Scheduling',
|
||||||
|
@ -1017,15 +1045,15 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
||||||
'pt': '',
|
'pt': '',
|
||||||
'en': '',
|
'en': '',
|
||||||
},
|
},
|
||||||
'3hqg8buh': {
|
'snnmkbyc': {
|
||||||
'pt': 'E-mail é Obrigatório',
|
'pt': 'E-mail é Obrigatório',
|
||||||
'en': '',
|
'en': 'Name is Required',
|
||||||
},
|
},
|
||||||
'jh5r2b1w': {
|
'jh5r2b1w': {
|
||||||
'pt': 'E-mail Inválido',
|
'pt': 'E-mail Inválido',
|
||||||
'en': '',
|
'en': '',
|
||||||
},
|
},
|
||||||
'1p76vmkn': {
|
'ph22karc': {
|
||||||
'pt': 'Please choose an option from the dropdown',
|
'pt': 'Please choose an option from the dropdown',
|
||||||
'en': '',
|
'en': '',
|
||||||
},
|
},
|
||||||
|
@ -1034,7 +1062,7 @@ final kTranslationsMap = <Map<String, Map<String, String>>>[
|
||||||
'en': 'Send',
|
'en': 'Send',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// visitRequestTemplateComponent
|
// detailsComponent
|
||||||
{
|
{
|
||||||
'ivfw4j04': {
|
'ivfw4j04': {
|
||||||
'pt': 'Nome',
|
'pt': 'Nome',
|
||||||
|
|
|
@ -11,10 +11,6 @@ class AcessHistoryPageModel extends FlutterFlowModel<AcessHistoryPageWidget> {
|
||||||
|
|
||||||
String pesType = 'T';
|
String pesType = 'T';
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
|
|
||||||
/// Query cache managers for this widget.
|
/// Query cache managers for this widget.
|
||||||
|
|
||||||
final _accessHistoryManager = FutureRequestManager<ApiCallResponse>();
|
final _accessHistoryManager = FutureRequestManager<ApiCallResponse>();
|
||||||
|
@ -37,8 +33,6 @@ class AcessHistoryPageModel extends FlutterFlowModel<AcessHistoryPageWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
|
|
||||||
/// Dispose query cache managers for this widget.
|
/// Dispose query cache managers for this widget.
|
||||||
|
|
||||||
clearAccessHistoryCache();
|
clearAccessHistoryCache();
|
||||||
|
@ -53,9 +47,7 @@ class AcessHistoryPageModel extends FlutterFlowModel<AcessHistoryPageWidget> {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: MediaQuery.viewInsetsOf(context),
|
padding: MediaQuery.viewInsetsOf(context),
|
||||||
child: OptModalWidget(
|
child: OptModalWidget(
|
||||||
|
|
|
@ -41,9 +41,7 @@ class _AcessHistoryPageWidgetState extends State<AcessHistoryPageWidget> {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
@ -114,10 +112,7 @@ class _AcessHistoryPageWidgetState extends State<AcessHistoryPageWidget> {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: MediaQuery.viewInsetsOf(context),
|
padding: MediaQuery.viewInsetsOf(context),
|
||||||
child: OptModalWidget(
|
child: OptModalWidget(
|
||||||
|
|
|
@ -12,7 +12,6 @@ class HomePageModel extends FlutterFlowModel<HomePageWidget> {
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// State field(s) for TextField widget.
|
// State field(s) for TextField widget.
|
||||||
FocusNode? textFieldFocusNode;
|
FocusNode? textFieldFocusNode;
|
||||||
TextEditingController? textController;
|
TextEditingController? textController;
|
||||||
|
@ -35,7 +34,6 @@ class HomePageModel extends FlutterFlowModel<HomePageWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
textFieldFocusNode?.dispose();
|
textFieldFocusNode?.dispose();
|
||||||
textController?.dispose();
|
textController?.dispose();
|
||||||
|
|
||||||
|
|
|
@ -40,9 +40,7 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: MediaQuery.viewInsetsOf(context),
|
padding: MediaQuery.viewInsetsOf(context),
|
||||||
child: const BottomArrowLinkedLocalsComponentWidget(),
|
child: const BottomArrowLinkedLocalsComponentWidget(),
|
||||||
|
@ -71,9 +69,7 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).secondaryBackground,
|
||||||
|
|
|
@ -8,7 +8,6 @@ import 'package:flutter/material.dart';
|
||||||
class LiberationHistoryModel extends FlutterFlowModel<LiberationHistoryWidget> {
|
class LiberationHistoryModel extends FlutterFlowModel<LiberationHistoryWidget> {
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// State field(s) for TextField widget.
|
// State field(s) for TextField widget.
|
||||||
FocusNode? textFieldFocusNode;
|
FocusNode? textFieldFocusNode;
|
||||||
TextEditingController? textController;
|
TextEditingController? textController;
|
||||||
|
@ -36,7 +35,6 @@ class LiberationHistoryModel extends FlutterFlowModel<LiberationHistoryWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
textFieldFocusNode?.dispose();
|
textFieldFocusNode?.dispose();
|
||||||
textController?.dispose();
|
textController?.dispose();
|
||||||
|
|
||||||
|
|
|
@ -45,9 +45,7 @@ class _LiberationHistoryWidgetState extends State<LiberationHistoryWidget> {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
|
|
@ -5,15 +5,9 @@ import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class PeopleOnThePropertyPageModel
|
class PeopleOnThePropertyPageModel
|
||||||
extends FlutterFlowModel<PeopleOnThePropertyPageWidget> {
|
extends FlutterFlowModel<PeopleOnThePropertyPageWidget> {
|
||||||
/// State fields for stateful widgets in this page.
|
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState(BuildContext context) {}
|
void initState(BuildContext context) {}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {}
|
||||||
unfocusNode.dispose();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,9 +42,7 @@ class _PeopleOnThePropertyPageWidgetState
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
|
|
@ -12,17 +12,11 @@ class QrCodePageModel extends FlutterFlowModel<QrCodePageWidget> {
|
||||||
|
|
||||||
DateTime? time;
|
DateTime? time;
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState(BuildContext context) {}
|
void initState(BuildContext context) {}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {}
|
||||||
unfocusNode.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Action blocks.
|
/// Action blocks.
|
||||||
Future qrCodeEncoder(
|
Future qrCodeEncoder(
|
||||||
|
|
|
@ -76,9 +76,7 @@ class _QrCodePageWidgetState extends State<QrCodePageWidget>
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
@ -187,11 +185,8 @@ class _QrCodePageWidgetState extends State<QrCodePageWidget>
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode.canRequestFocus
|
FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding:
|
||||||
MediaQuery.viewInsetsOf(context),
|
MediaQuery.viewInsetsOf(context),
|
||||||
|
|
|
@ -8,7 +8,6 @@ class RegisterVisitorPageModel
|
||||||
extends FlutterFlowModel<RegisterVisitorPageWidget> {
|
extends FlutterFlowModel<RegisterVisitorPageWidget> {
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
bool isDataUploading = false;
|
bool isDataUploading = false;
|
||||||
FFUploadedFile uploadedLocalFile =
|
FFUploadedFile uploadedLocalFile =
|
||||||
FFUploadedFile(bytes: Uint8List.fromList([]));
|
FFUploadedFile(bytes: Uint8List.fromList([]));
|
||||||
|
@ -42,7 +41,6 @@ class RegisterVisitorPageModel
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
textFieldFocusNode1?.dispose();
|
textFieldFocusNode1?.dispose();
|
||||||
textController1?.dispose();
|
textController1?.dispose();
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,7 @@ class _RegisterVisitorPageWidgetState extends State<RegisterVisitorPageWidget> {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
@ -794,11 +792,8 @@ class _RegisterVisitorPageWidgetState extends State<RegisterVisitorPageWidget> {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode.canRequestFocus
|
FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding:
|
||||||
MediaQuery.viewInsetsOf(context),
|
MediaQuery.viewInsetsOf(context),
|
||||||
|
@ -822,11 +817,8 @@ class _RegisterVisitorPageWidgetState extends State<RegisterVisitorPageWidget> {
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode.canRequestFocus
|
FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: MediaQuery.viewInsetsOf(context),
|
padding: MediaQuery.viewInsetsOf(context),
|
||||||
child: ThrowExceptionWidget(
|
child: ThrowExceptionWidget(
|
||||||
|
|
|
@ -25,7 +25,6 @@ class ScheduleCompleteVisitPageModel
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// State field(s) for TabBar widget.
|
// State field(s) for TabBar widget.
|
||||||
TabController? tabBarController;
|
TabController? tabBarController;
|
||||||
int get tabBarCurrentIndex =>
|
int get tabBarCurrentIndex =>
|
||||||
|
@ -76,7 +75,6 @@ class ScheduleCompleteVisitPageModel
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
tabBarController?.dispose();
|
tabBarController?.dispose();
|
||||||
textFieldFocusNode1?.dispose();
|
textFieldFocusNode1?.dispose();
|
||||||
textController1?.dispose();
|
textController1?.dispose();
|
||||||
|
|
|
@ -110,9 +110,7 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
@ -294,15 +292,8 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode
|
FocusScope.of(
|
||||||
.canRequestFocus
|
|
||||||
? FocusScope.of(
|
|
||||||
context)
|
|
||||||
.requestFocus(
|
|
||||||
_model
|
|
||||||
.unfocusNode)
|
|
||||||
: FocusScope.of(
|
|
||||||
context)
|
context)
|
||||||
.unfocus(),
|
.unfocus(),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
@ -449,15 +440,8 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode
|
FocusScope.of(
|
||||||
.canRequestFocus
|
|
||||||
? FocusScope.of(
|
|
||||||
context)
|
|
||||||
.requestFocus(
|
|
||||||
_model
|
|
||||||
.unfocusNode)
|
|
||||||
: FocusScope.of(
|
|
||||||
context)
|
context)
|
||||||
.unfocus(),
|
.unfocus(),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
@ -965,7 +949,7 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
_model.textController1
|
_model.textController1
|
||||||
?.text =
|
?.text =
|
||||||
dateTimeFormat(
|
dateTimeFormat(
|
||||||
'd/M/y H:mm:ss',
|
"d/M/y H:mm:ss",
|
||||||
_model
|
_model
|
||||||
.datePicked1,
|
.datePicked1,
|
||||||
locale: FFLocalizations.of(
|
locale: FFLocalizations.of(
|
||||||
|
@ -1320,7 +1304,7 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
_model.textController2
|
_model.textController2
|
||||||
?.text =
|
?.text =
|
||||||
dateTimeFormat(
|
dateTimeFormat(
|
||||||
'd/M/y H:mm:ss',
|
"d/M/y H:mm:ss",
|
||||||
_model
|
_model
|
||||||
.datePicked2,
|
.datePicked2,
|
||||||
locale: FFLocalizations.of(
|
locale: FFLocalizations.of(
|
||||||
|
@ -2001,11 +1985,8 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode.canRequestFocus
|
FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding:
|
||||||
MediaQuery.viewInsetsOf(context),
|
MediaQuery.viewInsetsOf(context),
|
||||||
|
@ -2041,11 +2022,8 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode.canRequestFocus
|
FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding:
|
||||||
MediaQuery.viewInsetsOf(context),
|
MediaQuery.viewInsetsOf(context),
|
||||||
|
@ -2174,13 +2152,8 @@ class _ScheduleCompleteVisitPageWidgetState
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) {
|
builder: (context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model
|
onTap: () =>
|
||||||
.unfocusNode
|
FocusScope.of(context)
|
||||||
.canRequestFocus
|
|
||||||
? FocusScope.of(context)
|
|
||||||
.requestFocus(_model
|
|
||||||
.unfocusNode)
|
|
||||||
: FocusScope.of(context)
|
|
||||||
.unfocus(),
|
.unfocus(),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding:
|
padding:
|
||||||
|
|
|
@ -29,36 +29,76 @@ class ScheduleProvisionalVisitPageModel
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
final formKey = GlobalKey<FormState>();
|
||||||
// State field(s) for TextField widget.
|
// State field(s) for personName widget.
|
||||||
FocusNode? textFieldFocusNode1;
|
FocusNode? personNameFocusNode;
|
||||||
TextEditingController? textController1;
|
TextEditingController? personNameTextController;
|
||||||
String? Function(BuildContext, String?)? textController1Validator;
|
String? Function(BuildContext, String?)? personNameTextControllerValidator;
|
||||||
|
String? _personNameTextControllerValidator(
|
||||||
|
BuildContext context, String? val) {
|
||||||
|
if (val == null || val.isEmpty) {
|
||||||
|
return FFLocalizations.of(context).getText(
|
||||||
|
'3hqg8buh' /* Nome é Obrigatório */,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (val.length > 80) {
|
||||||
|
return FFLocalizations.of(context).getText(
|
||||||
|
'l0b0zr50' /* Máximo 80 caracteres */,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// State field(s) for dateTime widget.
|
||||||
|
FocusNode? dateTimeFocusNode;
|
||||||
|
TextEditingController? dateTimeTextController;
|
||||||
|
String? Function(BuildContext, String?)? dateTimeTextControllerValidator;
|
||||||
|
String? _dateTimeTextControllerValidator(BuildContext context, String? val) {
|
||||||
|
if (val == null || val.isEmpty) {
|
||||||
|
return FFLocalizations.of(context).getText(
|
||||||
|
'uzefkuf9' /* Data / Hora é Obrigatório */,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
DateTime? datePicked;
|
DateTime? datePicked;
|
||||||
// State field(s) for TextField widget.
|
// State field(s) for notes widget.
|
||||||
FocusNode? textFieldFocusNode2;
|
FocusNode? notesFocusNode;
|
||||||
TextEditingController? textController2;
|
TextEditingController? notesTextController;
|
||||||
String? Function(BuildContext, String?)? textController2Validator;
|
String? Function(BuildContext, String?)? notesTextControllerValidator;
|
||||||
// State field(s) for TextField widget.
|
String? _notesTextControllerValidator(BuildContext context, String? val) {
|
||||||
FocusNode? textFieldFocusNode3;
|
if (val == null || val.isEmpty) {
|
||||||
TextEditingController? textController3;
|
return FFLocalizations.of(context).getText(
|
||||||
String? Function(BuildContext, String?)? textController3Validator;
|
'j14it3wp' /* Field is required */,
|
||||||
// Stores action output result for [Backend Call - API (postProvVisitScheduling)] action in sendContainer widget.
|
);
|
||||||
ApiCallResponse? provisionalVisitScheduling;
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Stores action output result for [Backend Call - API (postProvVisitScheduling)] action in btnSend widget.
|
||||||
|
ApiCallResponse? provVisitSchedule;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState(BuildContext context) {}
|
void initState(BuildContext context) {
|
||||||
|
personNameTextControllerValidator = _personNameTextControllerValidator;
|
||||||
|
dateTimeTextControllerValidator = _dateTimeTextControllerValidator;
|
||||||
|
notesTextControllerValidator = _notesTextControllerValidator;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
personNameFocusNode?.dispose();
|
||||||
textFieldFocusNode1?.dispose();
|
personNameTextController?.dispose();
|
||||||
textController1?.dispose();
|
|
||||||
|
|
||||||
textFieldFocusNode2?.dispose();
|
dateTimeFocusNode?.dispose();
|
||||||
textController2?.dispose();
|
dateTimeTextController?.dispose();
|
||||||
|
|
||||||
textFieldFocusNode3?.dispose();
|
notesFocusNode?.dispose();
|
||||||
textController3?.dispose();
|
notesTextController?.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -6,7 +6,6 @@ import 'package:flutter/material.dart';
|
||||||
class SignInPageModel extends FlutterFlowModel<SignInPageWidget> {
|
class SignInPageModel extends FlutterFlowModel<SignInPageWidget> {
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// Model for signInTemplateComponent component.
|
// Model for signInTemplateComponent component.
|
||||||
late SignInTemplateComponentModel signInTemplateComponentModel;
|
late SignInTemplateComponentModel signInTemplateComponentModel;
|
||||||
|
|
||||||
|
@ -18,7 +17,6 @@ class SignInPageModel extends FlutterFlowModel<SignInPageWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
signInTemplateComponentModel.dispose();
|
signInTemplateComponentModel.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,7 @@ class _SignInPageWidgetState extends State<SignInPageWidget> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
|
|
@ -6,7 +6,6 @@ import 'package:flutter/material.dart';
|
||||||
class SignUpPageModel extends FlutterFlowModel<SignUpPageWidget> {
|
class SignUpPageModel extends FlutterFlowModel<SignUpPageWidget> {
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// Model for signUpTemplateComponent component.
|
// Model for signUpTemplateComponent component.
|
||||||
late SignUpTemplateComponentModel signUpTemplateComponentModel;
|
late SignUpTemplateComponentModel signUpTemplateComponentModel;
|
||||||
|
|
||||||
|
@ -18,7 +17,6 @@ class SignUpPageModel extends FlutterFlowModel<SignUpPageWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
signUpTemplateComponentModel.dispose();
|
signUpTemplateComponentModel.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,7 @@ class _SignUpPageWidgetState extends State<SignUpPageWidget> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
|
|
@ -10,7 +10,6 @@ class WelcomePageModel extends FlutterFlowModel<WelcomePageWidget> {
|
||||||
|
|
||||||
/// State fields for stateful widgets in this page.
|
/// State fields for stateful widgets in this page.
|
||||||
|
|
||||||
final unfocusNode = FocusNode();
|
|
||||||
// Model for welcomeTemplateComponent component.
|
// Model for welcomeTemplateComponent component.
|
||||||
late WelcomeTemplateComponentModel welcomeTemplateComponentModel;
|
late WelcomeTemplateComponentModel welcomeTemplateComponentModel;
|
||||||
|
|
||||||
|
@ -22,7 +21,6 @@ class WelcomePageModel extends FlutterFlowModel<WelcomePageWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
unfocusNode.dispose();
|
|
||||||
welcomeTemplateComponentModel.dispose();
|
welcomeTemplateComponentModel.dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,9 +52,7 @@ class _WelcomePageWidgetState extends State<WelcomePageWidget> {
|
||||||
context.watch<FFAppState>();
|
context.watch<FFAppState>();
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () => _model.unfocusNode.canRequestFocus
|
onTap: () => FocusScope.of(context).unfocus(),
|
||||||
? FocusScope.of(context).requestFocus(_model.unfocusNode)
|
|
||||||
: FocusScope.of(context).unfocus(),
|
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
key: scaffoldKey,
|
key: scaffoldKey,
|
||||||
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
|
||||||
|
|
Loading…
Reference in New Issue