nullableSize property
Size?
nullableSize
Returns the size of the nearest MediaQuery ancestor or null if no such ancestor exists.
Implementation
Size? get nullableSize => MediaQuery.maybeSizeOf(this);
Returns the size of the nearest MediaQuery ancestor or null if no such ancestor exists.
Size? get nullableSize => MediaQuery.maybeSizeOf(this);