isDesktopOf method

bool isDesktopOf(
  1. BuildContext context
)

Returns whether the screen for context is ScreenType.desktop.

Implementation

bool isDesktopOf(BuildContext context) =>
    screenTypeOf(context) == ScreenType.desktop;