SpanPadding class

Defines the leading and trailing padding values of a Span.

Constructors

SpanPadding({double leading = 0.0, double trailing = 0.0})
Creates a padding configuration for a Span.
const
SpanPadding.all(double value)
Creates padding where both the leading and trailing are value.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
leading → double
The leading amount of pixels to pad a Span by.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trailing → double
The trailing amount of pixels to pad a Span by.
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