PictureDetails class

Container that holds the size of a finished drawing and the drawed data as Picture.

Constructors

PictureDetails(Picture picture, int width, int height)
Creates an immutable instance with the given drawing information.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
The height of the drawing.
final
picture Picture
The drawings data as Picture.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
The width of the drawing.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toImage() Future<Image>
Converts the picture to an Image.
toPNG() Future<Uint8List>
Converts the picture to a PNG and returns the bytes of the PNG.
toString() String
A string representation of this object.
inherited

Operators

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