StrokeWidth class

SVG stroke width enum and helper class. Make pattern and conversion easy.

Constructors

StrokeWidth(double value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getValue() double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

none StrokeWidth
final
width1 StrokeWidth
final
width10 StrokeWidth
final
width2 StrokeWidth
final
width20 StrokeWidth
final
width5 StrokeWidth
final

Static Methods

custom(double value) StrokeWidth
toXml(StrokeWidth? strokeWidth, Unit? unit) String