MemoryImage class Null safety

Inheritance

Constructors

MemoryImage(Uint8List bytes, {PdfImageOrientation? orientation, double? dpi})
factory

Properties

bytes Uint8List
The image data
final
dpi double?
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
height int?
Image height
read-only, inherited
orientation PdfImageOrientation
The internal orientation of the image
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
width int?
Image width
read-only, inherited

Methods

buildImage(Context context, {int? width, int? height}) PdfImage
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
resolve(Context context, PdfPoint size, {double? dpi}) PdfImage
Resolves this image provider using the given context, returning a PdfImage The image is automatically added to the document
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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