DiagramBorder class final
Shared by outer edges and row/column separators. A zero width hides an edge.
Constructors
- DiagramBorder({DiagramColor color = const DiagramColor(0xFF374151), double width = 1, DiagramBorderStyle style = DiagramBorderStyle.solid})
-
const
Properties
- color → DiagramColor
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → DiagramBorderStyle
-
final
- visible → bool
-
Whether the border draws anything: a positive width and a style
other than DiagramBorderStyle.none.
no setter
- width → double
-
final
Methods
-
copyWith(
{DiagramColor? color, double? width, DiagramBorderStyle? style}) → DiagramBorder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override