DashedColorCircle class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- DashedColorCircle
Constructors
- DashedColorCircle({Key? key, int dashes = 3, Color emptyColor = Colors.grey, Color filledColor = Colors.black, double gapSize = 24.0, double strokeWidth = 8.0, double size = 24.0, double fillCount = 0.0, StrokeCap strokeCap = StrokeCap.round})
-
Adding dashes will increase the dash count, but
if you add too many, you might have to change the
gapSize which would move the dashes further away from
each other.
emptyColor represents the default color of the dashes.
If you declare fillCount together with filledColor
you would get the amount of dashes with
fillColor
in the specified color.const
Properties
- dashes → int
-
The count of dashes to be displayed
final
- emptyColor → Color
-
The default color of the dashes
final
- fillCount → double
-
Count of dashes to be colored with filledColor
final
- filledColor → Color
-
The color of the filled dashes. This will be equivalent to the fillCount
final
- gapSize → double
-
Distance between two dashes
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
Total size of the circle (width, height together)
final
- strokeCap → StrokeCap
-
StrokeCap for the dash style
final
- strokeWidth → double
-
Width of the dashes
final
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