SpanBorder class

Describes the border for a Span.

Implementers

Constructors

SpanBorder({BorderSide trailing = BorderSide.none, BorderSide leading = BorderSide.none})
Creates a SpanBorder.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
leading BorderSide
The border to draw on the leading side of the span.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trailing BorderSide
The border to draw on the trailing side of the span, based on the AxisDirection.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(SpanDecorationPaintDetails details, BorderRadius? borderRadius) → void
Called to draw the border around a span.
toString() String
A string representation of this object.
inherited

Operators

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