Releases: NearHuscarl/flutter_login
Releases · NearHuscarl/flutter_login
v5.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.
v4.2.1
- Added dynamic prefix-icon on recover card based on user type. (thanks @lucaloiacono !)
v4.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
v4.1.1
v4.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.
v4.0.0
BREAKING CHANGES:
Flutter 3 or higher is required. All other dependencies are updated to match this.
v4.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.
v3.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.
v3.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.
v3.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