DottedLine class

Inheritance

Constructors

DottedLine({Key? key, Axis direction = Axis.horizontal, WrapAlignment alignment = WrapAlignment.center, double lineLength = double.infinity, double lineThickness = 1.0, double dashLength = 4.0, Color dashColor = Colors.black, List<Color>? dashGradient, double dashGapLength = 4.0, Color dashGapColor = Colors.transparent, List<Color>? dashGapGradient, double dashRadius = 0.0, double dashGapRadius = 0.0})
Creates dotted line with the given parameters
const

Properties

alignment WrapAlignment
The alignment of the entire dotted line. Default WrapAlignment.center.
final
dashColor Color
The color of the dash. Default Colors.black.
final
dashGapColor Color
The color of the dash gap. Default Colors.transparent.
final
dashGapGradient List<Color>?
The gradient colors of the dash gap. Default null. The first color is beginning color, the second one is ending color.
final
dashGapLength double
The length of the dash gap. Default (4.0).
final
dashGapRadius double
The radius of the dash gap. Default (0.0).
final
dashGradient List<Color>?
The gradient colors of the dash. Default null. The first color is beginning color, the second one is ending color.
final
dashLength double
The length of the dash. Default (4.0).
final
dashRadius double
The radius of the dash. Default (0.0).
final
direction Axis
The direction of the entire dotted line. Default Axis.horizontal.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lineLength double
The length of the entire dotted line. Default double.infinity.
final
lineThickness double
The thickness of the entire dotted line. Default (1.0).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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