res_builder 1.1.2 copy "res_builder: ^1.1.2" to clipboard
res_builder: ^1.1.2 copied to clipboard

A Flutter Widget for building responsive UI by providing different layouts for different screen sizes.

1.0.0 #

  • Responsive(): Define three types of widgets which are automatically chosen based on the screen width.
  • Responsive.builder(): Define builder methods to build the widgets.
  • Responsive.withShared<T>(): Define are shared child which can be any type and will be shared between all the layouts.
  • Responsive.value<T>(): Define a simple value which is responsively chosen.
  • To customize the layout behavior, you may override the upperBound and/or lowerBound static properties as well as the isMobile, isDesktop and isTablet static methods.

1.1.0 #

  • new optional parameter for all constructors added: preferredTabletFormat. Can be used to set an alternative format for tablet devices, if no onTablet is provided.

1.1.1 #

  • updated internal behavior to dry up the code.

1.1.2 #

  • renamed internal typedef to avoid name collisions with core flutter defaults.
5
likes
130
pub points
4%
popularity

Publisher

unverified uploader

A Flutter Widget for building responsive UI by providing different layouts for different screen sizes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on res_builder