IrSizing class

How a node sizes itself along one axis.

fill means "take all the space the parent offers on this axis". Along a parent's main axis that is flex-grow; along its cross axis it is stretch.

Constructors

IrSizing.fill()
const
IrSizing.fixed(double value)
const
IrSizing.hug()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isFill → bool
no setter
isFixed → bool
no setter
isHug → bool
no setter
mode → SizingMode
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Object
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Object? json) → IrSizing