PointConnectionStyle class
Represents the style of point connection.
Constructors
- PointConnectionStyle({PointConnectionType type = PointConnectionType.solid, Color color = Colors.white, double dotSize = 1, double lineWidth = 1, double dashSize = 4, double spacing = 8})
-
Creates a new instance of PointConnectionStyle.
const
- PointConnectionStyle.fromJson(String source)
-
Creates a PointConnectionStyle object from a JSON string.
factory
-
PointConnectionStyle.fromMap(Map<
String, dynamic> map) -
Creates a PointConnectionStyle object from a map.
factory
Properties
- color → Color
-
The color of the connection.
final
- dashSize → double
-
The size of the dashes in the connection.
final
- dotSize → double
-
The size of the dots in the connection.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineWidth → double
-
The width of the line in the connection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing → double
-
The spacing between dots in the connection.
final
- type → PointConnectionType
-
The type of connection.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts the PointConnectionStyle object to a JSON string.
-
toMap(
) → Map< String, dynamic> - Converts the PointConnectionStyle object to a map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited