shouldApplySafeArea static method

bool shouldApplySafeArea(
  1. BuildContext context
)

Implementation

static bool shouldApplySafeArea(BuildContext context) {
  EdgeInsets viewPadding = MediaQuery.of(context).viewPadding;

  return viewPadding.bottom > 0;
}