query property

Contains information about the current media.

For example, the MediaQueryData.size property contains the width and height of the current window.

Implementation

MediaQueryData get query {
  return MediaQuery.of(this);
}