ResponsiveUtil extension

Extension to define all our screen utilities

on

Properties

breakpoint BambooBreakPoint?
Return breakpoints value
no setter
height double
no setter
isDesktop bool
Check if screen is desktop
no setter
isLandscape bool
Check if screen is landscape
no setter
isLarge bool
Extra large
no setter
isMobile bool
Check if screen is mobile using breakpoint both landscape and portrait
no setter
isPortrait bool
Check if screen is portrait
no setter
isTablet bool
Check if screen is tablet
no setter
longestSide double
Return longestSidebased on orietation
no setter
orientation Orientation
Return orientation
no setter
shortestSide double
Return shortestSidebased on orietation
no setter
size Size
no setter
width double
no setter