t-core/bool-class.html">bool</a></span>
  <span class="name ">isPhone</span>
  

</section>




<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">static bool get isPhone {
  final FlutterView firstView =
      WidgetsBinding.instance.platformDispatcher.views.first;
  final double logicalShortestSide =
      firstView.physicalSize.shortestSide &#47;
          firstView.devicePixelRatio;
  return logicalShortestSid