isTiny property

bool get isTiny

Returns true if MediaQuery's width is less than 379p on desktop and MediaQuery's shortest side is less than 379p on mobile.

Implementation

bool get isTiny =>
    PlatformUtils.isDesktop
        ? MediaQuery.sizeOf(this).width < 379
        : MediaQuery.sizeOf(this).shortestSide < 379;