This commit is contained in:
J. A. Messias 2024-10-10 09:28:50 -03:00
parent ab7348c073
commit 8ad1f14ea9
1 changed files with 2 additions and 9 deletions

View File

@ -91,12 +91,12 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> with Ticker
@override Widget build(BuildContext context) => Scaffold(
appBar: buildAppBar(context),
body: buildBody(context),
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
);
AppBar buildAppBar(BuildContext context) {
return AppBar(
backgroundColor: FlutterFlowTheme.of(context).primaryBackground,
automaticallyImplyLeading: false,
forceMaterialTransparency: true,
leading: FlutterFlowIconButton(
@ -115,11 +115,7 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> with Ticker
},
),
title: Text(
FFLocalizations.of(context).getVariableText(
ptText: 'Recuperar Senha',
enText: 'Recover Password',
),
FFLocalizations.of(context).getVariableText(ptText: 'Recuperar Senha', enText: 'Recover Password',),
style: FlutterFlowTheme.of(context).headlineMedium.override(
fontFamily: 'Nunito',
color: FlutterFlowTheme.of(context).primaryText,
@ -140,8 +136,6 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> with Ticker
enText: 'What will be your new password? Enter it below and confirm.',
);
return SafeArea(
child: Container(
color: FlutterFlowTheme.of(context).primaryBackground,
child: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.only(bottom: 20.0), // Adiciona espaçamento inferior
@ -257,7 +251,6 @@ class _ForgotPasswordScreenState extends State<ForgotPasswordScreen> with Ticker
),
),
),
),
);
}
Widget _buildPasswordField(BuildContext context, {required TextEditingController? controller, required FocusNode? focusNode, required bool visibility, required VoidCallback onVisibilityToggle, required String hint, required String label,}) {