CssLengthBox class Null safety

A set of length measurements.

Annotations

Constructors

CssLengthBox({CssLength? bottom, CssLength? inlineEnd, CssLength? inlineStart, CssLength? left, CssLength? right, CssLength? top})
Creates a set.
const

Properties

bottom CssLength?
The bottom measurement.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
mayHaveLeft bool
Returns true if left or inline measurements are set.
read-only
mayHaveRight bool
Returns true if right or inline measurements are set.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
top CssLength?
The top measurement.
final

Methods

copyWith({CssLength? bottom, CssLength? inlineEnd, CssLength? inlineStart, CssLength? left, CssLength? right, CssLength? top}) CssLengthBox
Creates a copy with the given measurements replaced with the new values.
getValueLeft(TextStyleHtml tsh) double?
Calculates the left value taking text direction into account.
getValueRight(TextStyleHtml tsh) double?
Calculates the right value taking text direction into account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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