adopted widgets from login panel to reuse with register panel
I moved from login widget logic to containers(to reuse all widgets), I didn't do it earlier because Store can be connected only to the stateless widget, now I decided to create in container class that has props and state together(it looks like a lot of boilerplate).
In the last PR I had a problem with a button pinned to the bottom. It is funny but I spend a lot of time to find a proper solution. On mobile, I need to use some kind of scroll list to not overflow the bottom edge, but if I use a list then I can't use any widget that stretches to edges(Expandable, Spacer, Flexible) because those elements are antagonists. I even checked how to calculate heights/margins but it is not a good solution. I finally found SliverToBoxAdapter and SliverFillRemaining combined with customScrollview and it works brilliantly.
In next pr I will add a test, this is big enough. Code coverage for now 30% xd
In flutter if(condition) is rather the only way for conditional rendering xd
In next pr I will add a test, this is big enough. Code coverage for now 30% xd
In flutter if(condition) is rather the only way for conditional rendering xd