From d0e2d2d2b6c12b6356b6383dc9ebc405e814ceac Mon Sep 17 00:00:00 2001 From: Gorter-dev <52274327+Gorter-dev@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:07:03 +0200 Subject: [PATCH] Revert "fix: add default loginoptions for email and password fields" --- CHANGELOG.md | 4 ---- lib/src/config/login_options.dart | 11 ----------- pubspec.yaml | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7b702..36b458c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,3 @@ -## 6.0.1 - -* Added default loginOptions for email and password fields. - ## 6.0.0 * Changed ForgotPasswordform to use the same layout as the EmailPasswordLoginForm. diff --git a/lib/src/config/login_options.dart b/lib/src/config/login_options.dart index d61f245..9a8fd25 100644 --- a/lib/src/config/login_options.dart +++ b/lib/src/config/login_options.dart @@ -35,17 +35,6 @@ class LoginOptions { 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. final ButtonBuilder loginButtonBuilder; diff --git a/pubspec.yaml b/pubspec.yaml index 33bf03c..5166b25 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_login description: Flutter Login Component -version: 6.0.1 +version: 6.0.0 environment: sdk: ">=2.18.1 <3.0.0"