FixedViewPort class

Provides a statically defined height and width.

Throws AssertionError if height or width are null or negative.

See also:

Implemented types
Annotations

Constructors

FixedViewPort({double height = double.infinity, double width = double.infinity})
const

Properties

aspectRatio double
width / height ratio.
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
height double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
final

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