Line class

Annotations

Constructors

Line({List<Point> points = const [], Color color = Colors.blue, double width = 10.0, bool wipe = false, int duration = 0})
Line.fromJson(Map<String, dynamic> json)
factory

Properties

color Color
@JsonKey(fromJson: _colorFromString, toJson: _colorToString), read / write
duration int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
points List<Point>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
read / write
wipe bool
read / write

Methods

clone() Line
copyWith({List<Point> points, Color color, double width, bool wipe, int duration}) Line
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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