size_helper 2.1.0
size_helper: ^2.1.0 copied to clipboard
SizeHelper is a Flutter package for developing a responsive UI, with more control on UI components based on the current screen-size.
2.1.0 #
- Start using
.sizeOf(context)instead of.of(context).size.
2.0.0 #
- Make the breakpoints depend on Width not Height.
- Update breakpoints values.
1.1.1+4 #
- Fix
README.mdscreenshot gif.
1.1.0+3 #
- Enhance
README.mdand add more explanation for the package. - Add some sort of caching approach for not calculating the suitable breakpoint if the widget rebuild with that same the screen width and height.
- Use
ScreenInfomodel forhelpBuildermethod.
// Old
SizeBox(
height: SizeHelper.of(context).helpBuilder(
mobileLarge: (_,height , __) => height,
desktopNormal: (_,height, __) => height * 1.5,
),
)
// New
SizeBox(
height: SizeHelper.of(context).helpBuilder(
mobileLarge: (info) => info.height,
desktopNormal: (info) => info.height * 1.5,
),
)
1.0.0+2 #
- Use
loginstead ofprint. - Move package to stable version
1.0.0+2.
0.0.1+1 #
- Update
pubspec.yamldescription. - Add valid
homepageURL. - Add
orientationoption withhelpBuildermethod.
0.0.1 #
- Initial release.