onAll static method

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

Screen will be rebuild when onSize,onOrientation or si changes

Implementation

static bool onAll(MediaQueryData old, MediaQueryData data) {
  return old != data;
}