isTabletOf method

bool isTabletOf(
  1. BuildContext context
)

Returns whether the screen for context is ScreenType.tablet.

Implementation

bool isTabletOf(BuildContext context) =>
    screenTypeOf(context) == ScreenType.tablet;