onSizeAndEdgeInsets static method

bool onSizeAndEdgeInsets(
  1. MediaQueryData old,
  2. MediaQueryData data
)

Screen will be rebuild when size And View Insets changes

Implementation

static bool onSizeAndEdgeInsets(MediaQueryData old, MediaQueryData data) {
  return old.viewInsets != data.viewInsets;
}