Closed AzMoza closed 5 years ago
Yeeaaaah! Thanks dude. Gonna pull now, test and update the example and then push a new update. Thanks for the contribution. It's much appreciated.
No problem those changes have been made. I also changed the class name so it didn't get confusing. It's my first time contributing to an open-source repository so no idea on general rules and conventions 😂
Awesome man! @AzMoza Merged, I'll update the version and make a release on pub.dev
Added the ability to define custom screen resolutions via the
ScreenTypeLayout
widget or theResponsiveBuilder
widget.When supplying the definitions argument the values of
desktop
,tablet
andwatch
are all required.An example implementation with
ScreenTypeLayout
:This enables fine tuning of when the UI is updated to match a specific device type. The mobile UI depends on the size value of the tablet and watch.