ImageProvider class Null safety

Identifies an image without committing to the precise final asset

Implementers

Constructors

ImageProvider(int? _width, int _height, PdfImageOrientation orientation, double? dpi)

Properties

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

Methods

buildImage(Context context, {int? width, int? height}) PdfImage
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
toString() String
A string representation of this object. [...]
inherited

Operators

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