mirror of
https://github.com/Iconica-Development/flutter_registration.git
synced 2025-05-19 05:23:43 +02:00
fix(keyboard-focus): add unfocus for onPrevious
This commit is contained in:
parent
855e12f6ae
commit
81fab79e81
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||||
);
|
);
|
||||||
|
|
||||||
void onPrevious() {
|
void onPrevious() {
|
||||||
|
FocusScope.of(context).unfocus();
|
||||||
_validate(_pageController.page!.toInt() - 1);
|
_validate(_pageController.page!.toInt() - 1);
|
||||||
_pageController.previousPage(
|
_pageController.previousPage(
|
||||||
duration: _animationDuration,
|
duration: _animationDuration,
|
||||||
|
|
Loading…
Reference in a new issue