Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions lib/core/presentation/widget/my_textformfield.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,22 @@ class _FpbTextFormFieldState extends State<FpbTextFormField> {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final textTheme = theme.textTheme;

//final bodytext = TextStyle( color: Colors.black);
final customBodyMedium = theme.textTheme.bodyMedium?.copyWith(color: Colors.black);
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
showLabel == true
? Text(
widget.label,
style: textTheme.titleSmall,
style: customBodyMedium,

)
: SizedBox(),
TextFormField(


controller: widget.textController,
focusNode: widget.node,
keyboardType: widget.isEmail
Expand All @@ -66,9 +71,9 @@ class _FpbTextFormFieldState extends State<FpbTextFormField> {
: TextInputType.text,
onChanged: widget.onChanged,
obscureText: hidePassword ?? false,
style: textTheme
.titleSmall, //bodyMedium //.copyWith(color: colors.onSurface),
style: customBodyMedium, //bodyMedium //.copyWith(color: colors.onSurface),
decoration: InputDecoration(

errorText: widget.errorText,
suffixIcon: !widget.isPassword
? null
Expand Down
4 changes: 4 additions & 0 deletions lib/sign_in/view/sign_in_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,15 @@ class _SignInBodyState extends State<SignInBody>
),
Flexible(
child: Form(

child: TabBarView(

physics: const BouncingScrollPhysics(),
controller: tabController,
children: [

Column(

crossAxisAlignment:
CrossAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
Expand Down
1 change: 1 addition & 0 deletions lib/sign_in/view/widgets/email_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class EmailInput extends StatelessWidget {
return BlocBuilder<EmailPasswordBloc, EmailPasswordState>(
buildWhen: (previous, current) => previous.email != current.email,
builder: (context, state) => FpbTextFormField(

key: const Key('Email_password_form_emailInput_textField'),
box: box,
label: l10n.signInEmailTextFieldLabel,
Expand Down
Loading