IbrahimDevp / flutter_auth

0 stars 0 forks source link

Widget Separation #12

Open adnsawas opened 1 year ago

adnsawas commented 1 year ago

https://github.com/ikema77/flutter_auth/blob/0b86b7d22c968fdd363c173abcfbd6dd2510f919/lib/screens/profile_screen.dart#L60-L82

It could be better to break down ProfileScreen into smaller widgets. I know this is just a quick challenge and it focuses more on doing basic authentication concept, but this is just a side note to consider when planning your widgets. Just think of reusability and you wil figure out how to break them. E.g.