SpanDecoration class
A decoration for a Span.
When decorating merged cells in the TableView, a merged cell will take its decoration from the leading cell of the merged span.
Constructors
- SpanDecoration({SpanBorder? border, Color? color, BorderRadius? borderRadius, bool consumeSpanPadding = true})
-
Creates a SpanDecoration.
const
Properties
- border → SpanBorder?
-
The border drawn around the span.
final
- borderRadius → BorderRadius?
-
The radius by which the leading and trailing ends of a row or
column will be rounded.
final
- color → Color?
-
The color to fill the bounds of the span with.
final
- consumeSpanPadding → bool
-
Whether or not the decoration should extend to fill the space created by
the SpanPadding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
SpanDecorationPaintDetails details) → void - Called to draw the decoration around a span.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited