PictureRasterizationException class Null safety

An exception thrown by Canvas.drawImage and related methods when drawing an Image that is in an invalid state.

This exception may be thrown if the requested image dimensions exceeded the maximum 2D texture size allowed by the GPU, or if no GPU surface or context was available for rasterization at request time.

Implemented types

Properties

hashCode int
The hash code for this object.
read-only, inherited
message String
A string containing details about the failure.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stack StackTrace?
If available, the stack trace at the time Picture.toImageSync was called.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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