BytesBitmap class

A BitmapDescriptor using an array of bytes that must be encoded as PNG.

Inheritance
Annotations

Constructors

BytesBitmap({required Uint8List byteData, Size? size})
On the web, the size parameter represents the physical size of the bitmap, regardless of the actual resolution of the encoded PNG. This helps the browser to render High-DPI images at the correct size. size is not required (and ignored, if passed) in other platforms.
const

Properties

byteData Uint8List
Array of bytes encoding a PNG.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
On web, the physical size of the bitmap. Null on all other platforms.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
Convert the object to a Json format.
override
toString() String
A string representation of this object.
inherited

Operators

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