WhiteboardDraw class

Annotations

Constructors

WhiteboardDraw({List<Line> lines = const [], double width = 0, double height = 0})
WhiteboardDraw.empty({@required double width, @required double height})
factory
WhiteboardDraw.fromJson(Map<String, dynamic> json)
factory
WhiteboardDraw.fromWhiteboardSVG(String svg)
factory

Properties

drawingDuration Duration
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
height double
read / write
lines List<Line>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width double
read / write

Methods

chunker(int seconds) DrawChunker
clone() WhiteboardDraw
copyWith({String id, List<Line> lines, double width, double height}) WhiteboardDraw
getLinesWithoutWipe() List<Line>
getScaled(double targetWidth, double targetHeight) WhiteboardDraw
getScaledSize(double targetWidth, double targetHeight) Size
getSize() Size
getSVG({bool animation = true}) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
scale(double targetWidth, double targetHeight) → void
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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