UiSize class

Explicit size in logical pixels.

Optional — if absent, size derives from the node's content (text extent, image size, sum of children in row/column containers, ...).

Constructors

UiSize({required double width, required double height})
Creates an explicit UI size.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → double
The desired height in logical pixels.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
The desired width in logical pixels.
final

Methods

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