PanelMaxWidth class Null safety

Specify maximum width of the panel. Used to specify BoxConstraints in Container.

Default : double.infinity, which means as wide as allowed by screen.

Provide values in pixels.

Constructors

PanelMaxWidth({double portrait = double.infinity, double landscape = double.infinity})
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
landscape double
Maximum width occupied by the panel when device is in Orientation.landscape mode.
final
portrait double
Maximum width occupied by the panel when device is in Orientation.portrait mode.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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