Revert "fix: add default loginoptions for email and password fields"

This commit is contained in:
Gorter-dev 2024-04-02 16:07:03 +02:00 committed by GitHub
parent aeb0a93c8d
commit d0e2d2d2b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 16 deletions

View file

@ -1,7 +1,3 @@
## 6.0.1
* Added default loginOptions for email and password fields.
## 6.0.0 ## 6.0.0
* Changed ForgotPasswordform to use the same layout as the EmailPasswordLoginForm. * Changed ForgotPasswordform to use the same layout as the EmailPasswordLoginForm.

View file

@ -35,17 +35,6 @@ class LoginOptions {
this.forgotPasswordSpacerOptions = const ForgotPasswordSpacerOptions(), this.forgotPasswordSpacerOptions = const ForgotPasswordSpacerOptions(),
}); });
factory LoginOptions.defaults() => const LoginOptions(
emailDecoration: InputDecoration(
labelText: 'Email',
hintText: 'Enter your email',
),
passwordDecoration: InputDecoration(
labelText: 'Password',
hintText: 'Enter your password',
),
);
/// Builds the login button. /// Builds the login button.
final ButtonBuilder loginButtonBuilder; final ButtonBuilder loginButtonBuilder;

View file

@ -1,6 +1,6 @@
name: flutter_login name: flutter_login
description: Flutter Login Component description: Flutter Login Component
version: 6.0.1 version: 6.0.0
environment: environment:
sdk: ">=2.18.1 <3.0.0" sdk: ">=2.18.1 <3.0.0"