skygate / skyexpo-matchmaking

The matchmaking app for skyexpo AI 2020
http://skyexpo.hal.skygate.io/
0 stars 0 forks source link

Task/skyex 49 refactor login panel #156

Closed arkadiusz-sapek closed 4 years ago

arkadiusz-sapek commented 4 years ago

I used containers only to connect to the store and get request action, _ViewModel is something like mapStateToProps. As I see store can be connected only to StatelessWidget but I'm not sure. I used expanded to move button on the bottom- it get all rest space. Probably I will change this, the scrollable list will be better(in the actual approach I can't allow overflowing on the bottom- I will get an error). I checked libraries for forms and found flutter_form_builder and flutter_form_bloc. I only checked the first one because BLOC is an alternative for redux and I don't want to make a mismatch. Generally, flutter_form_builder has a lot of different fields but validation is broken- it fires all errors after touching on any field. I will refactor composing validators later to allow cross-validation(I need this in register form) and probably reuse a part of login widgets. image image