is10footScreen function

bool is10footScreen([
  1. double? width
])

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

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

Implementation

bool is10footScreen([double? width]) {
  width ??= ui.window.physicalSize.width;
  return width >= 11520;
}