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,
      )