CssLengthBox class

A set of length measurements.

Annotations
  • @immutable

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
hasLeftOrRight bool
Returns true if any of the left, right, inline measurements is set.
read-only
inlineEnd CssLength
The inline end (right) measurement.
final
inlineStart CssLength
The inline start (left) measurement.
final
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
Returns a string representation of this object.
inherited

Operators

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