CssLengthBox class

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.
no setterinherited
mayHaveLeft bool
Returns true if left or inline measurements are set.
no setter
mayHaveRight bool
Returns true if right or inline measurements are set.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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.
getLeft(InheritedProperties resolved) CssLength?
Calculates the left length taking text direction into account.
getRight(InheritedProperties resolved) CssLength?
Calculates the right length taking text direction into account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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