DVRaster class

Constructors

DVRaster({required int width, required int height, required Uint8List rgba})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → int
final
rgba → Uint8List
Straight RGBA, row-major, 4 bytes per pixel.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
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.
inherited

Static Methods

decode(Uint8List png) → Future<DVRaster>
Decodes png. Throws StateError when the bytes are not a picture, so a binding refuses the page rather than printing garbage.