Features
Custom Responsive wrapper
Usage
- Initialize:
DimenUtil.init(tabletBreakPoint: 600, desktopBreakPoint: 821);
- 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,
)