PictureInfo class

Represents information about a ui.Picture to be drawn on a canvas.

Annotations

Constructors

PictureInfo({required Picture picture, required Rect viewport, Size size = Size.infinite})
Creates a new PictureInfo object.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
picture Picture
The raw picture.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The requested size for this picture, which may be different than the viewport.size.
final
viewport Rect
The viewport enclosing the coordinates used in the picture.
final

Methods

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.
override