ResponsiveWidgetExtension extension

A util extension to wrap a Widget in an Expanded widget or a Flexible, for more readability when making complex layouts with ResponsiveLayout.

on

Methods

expanded([int flex = 1]) Widget
Wraps this Widget in an Expanded widget, with an specific flex, for a better readability when making complex layouts specially when making complex layouts with nested Rows and Columns in a ResponsiveLayout widget.
flexible({int flex = 1, FlexFit fit = FlexFit.loose}) Widget
Wraps this Widget in an Flexible widget, with an specific flex and fit, for a better readability when making complex layouts specially when making complex layouts with nested Rows and Columns in a ResponsiveLayout widget.