diff --git a/assets/fonts/SFPRODISPLAYBOLD.otf b/assets/fonts/SFPRODISPLAYBOLD.otf deleted file mode 100644 index 025b25c2..00000000 Binary files a/assets/fonts/SFPRODISPLAYBOLD.otf and /dev/null differ diff --git a/assets/fonts/SFPRODISPLAYMEDIUM.otf b/assets/fonts/SFPRODISPLAYMEDIUM.otf deleted file mode 100644 index b2f7daca..00000000 Binary files a/assets/fonts/SFPRODISPLAYMEDIUM.otf and /dev/null differ diff --git a/assets/fonts/SFPRODISPLAYREGULAR.otf b/assets/fonts/SFPRODISPLAYREGULAR.otf deleted file mode 100644 index 09aaca9f..00000000 Binary files a/assets/fonts/SFPRODISPLAYREGULAR.otf and /dev/null differ diff --git a/lib/pages/pets_page/pets_page_model.dart b/lib/pages/pets_page/pets_page_model.dart index 2a46b104..9e7a18a5 100644 --- a/lib/pages/pets_page/pets_page_model.dart +++ b/lib/pages/pets_page/pets_page_model.dart @@ -198,6 +198,12 @@ class PetsPageModel extends FlutterFlowModel { DialogUtil.error(buildContext!, jsonDecode(response.jsonBody['error_msg'])[0]['message']); } + DialogUtil.success( + buildContext!, + FFLocalizations.of(buildContext!).getVariableText( + enText: 'Pet successfully updated', + ptText: 'Pet atualizado com sucesso', + )); }).catchError((error) { log(error.toString()); DialogUtil.errorDefault(buildContext!); diff --git a/lib/pages/pets_page/pets_page_widget.dart b/lib/pages/pets_page/pets_page_widget.dart index 63f95507..56637526 100644 --- a/lib/pages/pets_page/pets_page_widget.dart +++ b/lib/pages/pets_page/pets_page_widget.dart @@ -226,7 +226,7 @@ class _PetsPageWidgetState extends State .getVariableText(ptText: 'Nome', enText: 'Name'), hintText: FFLocalizations.of(context) .getVariableText(ptText: 'Nome', enText: 'Name'), - suffixIcon: Icons.person, + suffixIcon: Symbols.format_color_text, haveMaxLength: true, maxLength: 80, ), @@ -240,8 +240,9 @@ class _PetsPageWidgetState extends State labelText: FFLocalizations.of(context).getVariableText( ptText: 'Espécie', enText: 'Species'), hintText: FFLocalizations.of(context).getVariableText( - ptText: 'Espécie', enText: 'Species'), - suffixIcon: Symbols.raven_sharp, + ptText: 'Ex: Cachorro, Gato, Papagaio', + enText: 'e.g. Dog, Cat, Parrot'), + suffixIcon: Symbols.sound_detection_dog_barking, haveMaxLength: true, maxLength: 80, ), @@ -255,8 +256,9 @@ class _PetsPageWidgetState extends State focusNode: _model.textFieldFocusRace, labelText: FFLocalizations.of(context) .getVariableText(ptText: 'Raça', enText: 'Race'), - hintText: FFLocalizations.of(context) - .getVariableText(ptText: 'Raça', enText: 'Race'), + hintText: FFLocalizations.of(context).getVariableText( + ptText: 'Ex: Labrador, Poodle, Siamês, Persa', + enText: 'e.g. Labrador, Poodle, Siamese, Persian'), suffixIcon: Icons.pets_outlined, haveMaxLength: true, maxLength: 80, @@ -271,9 +273,10 @@ class _PetsPageWidgetState extends State focusNode: _model.textFieldFocusColor, labelText: FFLocalizations.of(context) .getVariableText(ptText: 'Cor', enText: 'Color'), - hintText: FFLocalizations.of(context) - .getVariableText(ptText: 'Cor', enText: 'Color'), - suffixIcon: Icons.invert_colors_on_outlined, + hintText: FFLocalizations.of(context).getVariableText( + ptText: 'Ex: Preto, Amarelo, Branco', + enText: 'e.g. Black, Yellow, White'), + suffixIcon: Symbols.palette, haveMaxLength: true, maxLength: 80, ), @@ -612,7 +615,7 @@ class _PetsPageWidgetState extends State enText: 'Write your observations here...'), suffixIcon: Icons.text_fields, haveMaxLength: true, - maxLength: 80, + maxLength: 250, ), Padding( padding: const EdgeInsets.fromLTRB(70, 20, 70, 30), @@ -681,7 +684,7 @@ class _PetsPageWidgetState extends State .getVariableText(ptText: 'Nome', enText: 'Name'), hintText: FFLocalizations.of(context) .getVariableText(ptText: 'Nome', enText: 'Name'), - suffixIcon: Icons.person, + suffixIcon: Symbols.format_color_text, haveMaxLength: true, maxLength: 80, ), @@ -695,8 +698,9 @@ class _PetsPageWidgetState extends State labelText: FFLocalizations.of(context).getVariableText( ptText: 'Espécie', enText: 'Species'), hintText: FFLocalizations.of(context).getVariableText( - ptText: 'Espécie', enText: 'Species'), - suffixIcon: Icons.pest_control, + ptText: 'Ex: Cachorro, Gato, Papagaio', + enText: 'e.g. Dog, Cat, Parrot'), + suffixIcon: Symbols.sound_detection_dog_barking, haveMaxLength: true, maxLength: 80, ), @@ -710,9 +714,10 @@ class _PetsPageWidgetState extends State focusNode: _model.textFieldFocusRace, labelText: FFLocalizations.of(context) .getVariableText(ptText: 'Raça', enText: 'Race'), - hintText: FFLocalizations.of(context) - .getVariableText(ptText: 'Raça', enText: 'Race'), - suffixIcon: Icons.pets, + hintText: FFLocalizations.of(context).getVariableText( + ptText: 'Ex: Labrador, Poodle, Siamês, Persa', + enText: 'e.g. Labrador, Poodle, Siamese, Persian'), + suffixIcon: Icons.pets_outlined, haveMaxLength: true, maxLength: 80, ), @@ -726,9 +731,10 @@ class _PetsPageWidgetState extends State focusNode: _model.textFieldFocusColor, labelText: FFLocalizations.of(context) .getVariableText(ptText: 'Cor', enText: 'Color'), - hintText: FFLocalizations.of(context) - .getVariableText(ptText: 'Cor', enText: 'Color'), - suffixIcon: Icons.invert_colors, + hintText: FFLocalizations.of(context).getVariableText( + ptText: 'Ex: Preto, Amarelo, Branco', + enText: 'e.g. Black, Yellow, White'), + suffixIcon: Symbols.palette, haveMaxLength: true, maxLength: 80, ), @@ -773,7 +779,7 @@ class _PetsPageWidgetState extends State hintText: FFLocalizations.of(context) .getVariableText( ptText: 'Data de Nascimento', - enText: 'Birth Date', + enText: 'Date of Birth', ), hintStyle: FlutterFlowTheme.of(context) .labelMedium @@ -1067,7 +1073,7 @@ class _PetsPageWidgetState extends State enText: 'Write your observations here...'), suffixIcon: Icons.text_fields, haveMaxLength: true, - maxLength: 80, + maxLength: 250, ), Padding( padding: const EdgeInsets.fromLTRB(70, 20, 70, 30),