onOrientation static method
Screen will be rebuild when orientation changes
Implementation
static bool onOrientation(MediaQueryData old, MediaQueryData data) {
return old.orientation != data.orientation;
}
Screen will be rebuild when orientation changes
static bool onOrientation(MediaQueryData old, MediaQueryData data) {
return old.orientation != data.orientation;
}