isPhoneOf method

bool isPhoneOf(
  1. BuildContext context
)

Returns whether the screen for context is ScreenType.phone.

Implementation

bool isPhoneOf(BuildContext context) =>
    screenTypeOf(context) == ScreenType.phone;