pitriq/flutter_redux_boilerplate

Why login_form uses statefull widget ?

rubensdemelo opened this issue · 2 comments

Im starting with flutter + redux and would like to know why did you use a statefull widget in login_form?

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.

Got it. Thank you!