ViewportConfig class

Constructors

ViewportConfig({double minViewportSize = 320, double maxViewportSize = 1500})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxViewportSize → double
The maximum viewport size in which the fluid sizes should be calculated. This is usually the largest desktop size. Defaults to 1500.
final
minViewportSize → double
The minimum viewport size in which the fluid sizes should be calculated. This is usually the smallest phone size. Defaults to 320.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? minViewportSize, double? maxViewportSize}) → ViewportConfig
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