Why login_form uses statefull widget ?
rubensdemelo opened this issue · 2 comments
rubensdemelo commented
Im starting with flutter + redux and would like to know why did you use a statefull widget in login_form?
pitriq commented
Hello!
I wrote it as a stateful wigdet so as to keep a form key in state. That way you can have the authentication data validated before actually calling the login action.
rubensdemelo commented
Got it. Thank you!