MediaQuery class abstract

Constructors

MediaQuery.all({Unit? minWidth, Unit? maxWidth, Unit? minHeight, Unit? maxHeight, Orientation? orientation, bool? canHover, String? aspectRatio, ColorScheme? prefersColorScheme})
const
factory
MediaQuery.any(List<MediaQuery> queries)
const
factory
MediaQuery.not(MediaQuery query)
const
factory
MediaQuery.print({Unit? minWidth, Unit? maxWidth, Unit? minHeight, Unit? maxHeight, Orientation? orientation, bool? canHover, String? aspectRatio, ColorScheme? prefersColorScheme})
const
factory
MediaQuery.screen({Unit? minWidth, Unit? maxWidth, Unit? minHeight, Unit? maxHeight, Orientation? orientation, bool? canHover, String? aspectRatio, ColorScheme? prefersColorScheme})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited