size_helper 1.1.1+4 icon indicating copy to clipboard operation
size_helper: ^1.1.1+4 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.

0.0.1 #

  • initial release.

0.0.1+1 #

  • Update pubspec.yaml description.
  • Add valid homepage URL.
  • Add orientation option with helpBuilder method.

1.0.0+2 #

  • Use log instead of print.
  • Move package to stable version 1.0.0+2.

1.1.0+3 #

  • Enhance README.md and 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 ScreenInfo model for helpBuilder method.
// 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.1.1+4 #

  • Fix README.md screenshot gif.
40
likes
130
pub points
65%
popularity

Publisher

verified publisher iconabdelazeem-kuratem.engineer

SizeHelper is a Flutter package for developing a responsive UI, with more control on UI components based on the current screen-size.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, mockito

More

Packages that depend on size_helper