MinimalOfViewPort class
Takes two ViewPort instances and chooses the minimal ViewPort.width and ViewPort.height values.
Throws AssertionError if the given _leftPort
or _rightPort
point 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
- MediaQuerySizeViewPort - ViewPort adapter for a MediaQueryData
- MaximalOfViewPort - takes two ViewPort instances and chooses the maximal width and height
Constructors
- MinimalOfViewPort(ViewPort _leftPort, ViewPort _rightPort)
-
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