dimensol 1.0.4 copy "dimensol: ^1.0.4" to clipboard
dimensol: ^1.0.4 copied to clipboard

Helper on Responsiveness .

Features #

Custom Responsive wrapper

Usage #

  1. Initialize:
DimenUtil.init(tabletBreakPoint: 600, desktopBreakPoint: 821);
  1. Use:
//As widget a returning closures:

SType().when(phone: phone, tablet: tablet, desktop: desktop);
OType().when(portrait: portrait, landscape: landscape)
PType().when(mobile: mobile, web: web)

//As a widget:

PlatformScaffold (
      mobileApp,
      tabletPortraitApp,
      tabletLandscapeApp,
      mobileWeb,
      tabletPortraitWeb,
      desktop,
      )

2
likes
100
pub points
34%
popularity

Publisher

unverified uploader

Helper on Responsiveness .

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dimensol