isMobile property

bool get isMobile

Whether the current device is categorized as mobile.

Implementation

bool get isMobile => breakpoint == FlexiBreakpoint.mobilePortrait ||
                     breakpoint == FlexiBreakpoint.mobileLandscape;