Updating to latest FlutterFlow output.

This commit is contained in:
FlutterFlow 2024-06-26 18:49:54 +00:00
parent b85e75fbf8
commit 228be49ebd
2 changed files with 23 additions and 6 deletions

View File

@ -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>"; };
6436409227A31CDD00820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 6436409727A31CD100820AF7 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/InfoPlist.strings; sourceTree = "<group>"; };
6436409F27A31CDD00820AF7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; 6436409F27A31CDE00820AF7 /* 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 = (
6436409227A31CDD00820AF7 /* pt */, 6436409727A31CD100820AF7 /* pt */,
6436409F27A31CDD00820AF7 /* en */, 6436409F27A31CDE00820AF7 /* en */,
); );
name = InfoPlist.strings; name = InfoPlist.strings;
sourceTree = "<group>"; sourceTree = "<group>";

View File

@ -363,8 +363,25 @@ class _OptModalWidgetState extends State<OptModalWidget> {
.addToEnd(const SizedBox(height: 10.0)), .addToEnd(const SizedBox(height: 10.0)),
), ),
FFButtonWidget( FFButtonWidget(
onPressed: () { onPressed: () async {
print('Button pressed ...'); if ((_model.checkboxValue2 == true) &&
(_model.checkboxValue1 == false)) {
await widget.togglePersonType?.call(
'T',
);
} else if ((_model.checkboxValue1 == true) &&
((_model.checkboxValue2 == true) &&
(_model.checkboxValue1 == false))) {
await widget.togglePersonType?.call(
'E',
);
} else {
await widget.togglePersonType?.call(
'T',
);
}
Navigator.pop(context);
}, },
text: FFLocalizations.of(context).getText( text: FFLocalizations.of(context).getText(
'88kshkph' /* Salvar */, '88kshkph' /* Salvar */,