isMobileWeb static method

bool isMobileWeb(
  1. BuildContext context
)

Implementation

static bool isMobileWeb(BuildContext context) {
  return MediaQuery.of(context).size.width < Breakpoint.mobile && kIsWeb;
}