landscape static method

bool landscape(
  1. BuildContext context
)

Implementation

static bool landscape(BuildContext context) {
  var s = screenSize(context);
  return s.width > s.height;
}