isWatchOf method

bool isWatchOf(
  1. BuildContext context
)

Returns whether the screen for context is ScreenType.watch.

Implementation

bool isWatchOf(BuildContext context) =>
    screenTypeOf(context) == ScreenType.watch;