MediaQuerySizeViewPort class
Adapter of a MediaQueryData instance to the ViewPort interface.
Throws AssertionError if the given _data
points to null.
See also:
- ViewPort - defines rendering area size.
- ViewPortWidget - InheritedWidget that holds a ViewPort configuration
- ViewPorts - collection of the most regular ViewPort compositions
- FixedViewPort - provides a statically defined width and height
- MinimalOfViewPort - takes two ViewPort instances and chooses the minimal width and height
- MaximalOfViewPort - takes two ViewPort instances and chooses the maximal width and height
Constructors
- MediaQuerySizeViewPort(MediaQueryData _data)
-
const
Properties
- aspectRatio → double
-
width / height ratio.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override