is10footScreen function

bool is10footScreen(
  1. BuildContext context
)

Check if the current screen is 10 foot long or bigger.

width is the width of the current screen. If not provided, FlutterView.physicalSize is used

Implementation

bool is10footScreen(BuildContext context) {
  final width = View.of(context).physicalSize.width;
  return width >= 11520;
}