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