mirror of
https://github.com/Iconica-Development/flutter_login_widget.git
synced 2025-05-19 13:43:44 +02:00
Fix login email and password values not copied to validation values
This commit is contained in:
parent
d19b5cac7b
commit
17ce9a54f7
3 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
## 3.1.1
|
||||
* Fix login values not copied to validation
|
||||
|
||||
## 3.0.0
|
||||
* Added login options to loginbuilders for more customization
|
||||
|
||||
|
|
|
@ -61,6 +61,14 @@ class _EmailPasswordLoginFormState extends State<EmailPasswordLoginForm> {
|
|||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_currentEmail = widget.options.initialEmail;
|
||||
_currentPassword = widget.options.initialPassword;
|
||||
_validate();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var theme = Theme.of(context);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_login
|
||||
description: A new Flutter package project.
|
||||
version: 3.1.0
|
||||
version: 3.1.1
|
||||
|
||||
environment:
|
||||
sdk: ">=2.18.1 <3.0.0"
|
||||
|
|
Loading…
Reference in a new issue