flutter_login 5.0.0 flutter_login: ^5.0.0 copied to clipboard
A login widget with login/signup functionalities to help speed up development
5.0.0 #
Breaking Changes:
- [Android] Upgraded to Gradle 8. Due to a dependency update (intl_phone_number_input), the minimum Flutter version is changed to 3.16.
Features:
- Added keyboardDismissBehavior parameter to select the behaviour of the keyboard when scrolling.
- Added initialIsoCode parameter to set the initial iso code for the widget [LoginUserType.intlPhone]. Defaults to ['US'] if not specified.
- The card surfaceTintColor can now be set using cardTheme.surfaceTintColor.
Bugs fixed:
- Navigate to login page after pressing sign up confirm button when loginAfterSignUp is disabled and additionalSignupData is not null.
- Added context checks to prevent crashes when widget is not mounted anymore.
4.2.1 #
- Added dynamic prefix-icon on recover card based on user type. (thanks @lucaloiacono !)
4.2.0 #
Features:
- Added validateUserImmediately property. Should email be validated after losing focus [true] or after form submissions.
- Added confirmSignupRequired property. Additional option to decide in runtime if confirmation is required.
- Added UserFormField tooltip.
- Added LoginUserType Firstname, Lastname, Text, Intlphone and checkbox.
Bugs fixed:
- Fix autofill
- Fixed dispose() method must be called before super.dispose()
- Fixed providerNeedsSignUpCallback not being called.
- Provider Sign-up now also executes beforeAdditionalFieldsCallback()
- LoginUserType.phone now returns TextInputType.number
- Scrollbar not attached to scroll controller
4.1.1 #
Bugs fixed:
- Fixed an issue with keyboard unfocusing. (Thanks @otto-dev !)
- Fixed an issue with checkboxFormField not updating value. (Thanks @Mojo1917 !)
- Updated dependencies.
4.1.0 #
Features:
- You can now select the keyboardType for the confirm Signup Code with [confirmSignupKeyboardType]. (Thanks @0ttik !)
- Added a [headerWidget] that can be used to provide some text above the loginCard. (Thanks @cloudonlanapps !)
- You can now perform checks between switching to additionalData (if provided) using [onSwitchToAdditionalFields] (Thanks @blanquartf !)
Bugs fixed:
- Fixed termOfService.linkUrl. (Thanks @fotiDim !)
Other improvements:
- Migrated to lint and applied all suggested lints.
- Updated dependencies.
4.0.0 #
BREAKING CHANGES: Flutter 3 or higher is required. All other dependencies are updated to match this.
4.0.0-beta.1 #
BREAKING CHANGES:
- Upgraded font_awesome_flutter from v9 to v10
- Changed from flutter_signin_button to sign_in_button. This changes the enum names.
3.2.0 #
Features:
- It is now possible to enable scrolling instead of resizing the login card. You can enable this by setting the
scrollable
parameter to true. - The prefix icon of the user/email field now changes depending on the type.
- Custom sign-in buttons using flutter_signin_button package is now integrated. See the example app for an example.
- Add an animation to the termsOfService buttons.
3.1.0 #
Features:
- Add children parameter to FlutterLogin which takes a list of widgets that can be added in the background of the Login view. For example: a custom banner or a custom logo.
- Improved footer style
Bugs fixed:
- The signup confirmation page is now also shown when additionalSignupData is not provided or loginAfterSignUp is disabled.
- Back button of confirmSignUp page now returns Login or AdditionalSignUpData page depending on whether additionalSignupData has been provided or not.
3.0.0 #
First stable release of 3.0.0. Please see the changelog entries of the beta versions for all changes. New features include:
- Additional signup fields!
- Confirmation card for password recovery.
- Confirmation card for user registration.
This release also fixes:
- White space visible when animation is complete
- Several other animation improvements
3.0.0-beta.2 #
Besides the existing loginProvider icons, you can now also add a LoginButton as provider widget. Please check out flutter_signin_button for supported buttons.
BREAKING CHANGES:
- Provider has been updated to 6.0.1.
- Instead of hideSignUpButton, you can now set onSignup parameter to null (or just leave it out) in order to hide the signup button.
Fixed several other small bugs like color not being applied correctly to all widgets.
3.0.0-beta.1 #
You can now add more signup-fields! Please keep in mind that this is a beta release and may still contain bugs.
Other features:
- You can now use an ImageProvider instead of only an AssetImage. #216
2.2.0 #
Features
- Added possibility to disable custom page transformer. #202
- Added possibility to automatically navigate back to login page after successful recovery. #207
Bug fixes
- Fixed primary color not applying to input decoration. (@SalahAdDin in #201)
- Fixed forgot password button not coloring. #203
- Fixed black text when night mode is enabled and no other theme is provided. #206
- Fixed routing issue in example app. #204
2.1.0 #
Features
- Added possibility to change switch authentication button color. #195
- Added possibility to change logo size. #193
- Added labels to LoginProviders. #192
- Added a bar with title/description above providers. Can be disabled using hideProvidersTitle. See #181
Bug fixes
- Fixed animation padding not filling screen. #194
2.0.0 #
Stable release of null-safety
Changed
- emailValidator is now userValidator
Features
- Add bottom padding to LoginTheme
Also fixed numerous other bugs.
2.0.0-nullsafety.0 #
Migrated to null-safety
1.1.0 #
Features (30/03/2021)
- Possibility to hide the sign-up and forgot password button #115
- Possibility to provide flushbar title #117
- Support for auto-fill hints #125
- Possibility to navigate back to login after sign-up #126
- Support for external login providers #127
- Footer for copyright notice #129
- Add custom padding to sign-up and login provider buttons #135
- Possibility to only show logo without title
Bug fixes
- Add safe area to header
- Scaffold is now transparent so background images are now supported
- Fix logo size
- Disable auto-correct for text field
1.0.15 #
Bug fixes (16/03/2021)
- Fixed animationController methods should not be used after calling dispose #114
- Upgrade to AndroidX #111
- Upgrade Android example to embedding V2 #110
- Fixed initialRoute function #110
- Added pedantic for code analysis #110
- Migrated discontinued flushbar to another_flushbar #110
- Updated all deprecated widgets to current widgets #110
- Fixed widget_test #110
1.0.13 #
Minor improvements and Bug fix(es) (23/01/2020)
- Share email input between login and recovery cards (@doc-rj-celltrak in #13)
- Fix render overflow exceptions #20
1.0.11 #
Misc bug fixes (17/01/2020)
- Attempt to fix text not centered in the web build
- Fix exception on submit when onSubmitAnimationCompleted is empty
- Fix: test failed due to framework error
1.0.10+1 #
Fix example's logo hero animation (11/12/2019)
1.0.10 #
Extend configurations & bug fixes (09/12/2019)
- Add
pageColorLight
andpageColorDark
to customize screen background color gradients (@doc-rj-celltrak in #12) - Add configurable intro to recovery card (@doc-rj-celltrak in #9)
- Fix empty/null title still takes empty space (should be collapse) (@doc-rj-celltrak in #10)
- Fix hardcode button width (@doc-rj-celltrak in #17)
- Fix crashing when applying
primaryColor
(@doc-rj-celltrak in #11)
1.0.4 #
Add option to disable debug buttons (11/10/2019)
1.0.3 #
- Fix app crashing when omitting
logoPath
parameter
1.0.2 #
Add license
1.0.1 #
Fix Document
- Fix image not loading on pub.dev README
- Reduce font size in description column
1.0.0 #
Initial release