SizeAndFormat class Core

Represents the size and file format for an image.

A simple immutable holder containing a Size and an ImageFileFormat. Use this when you need to pass both dimensions and the desired image file format to SDK methods that produce or consume images.

See also:

Constructors

SizeAndFormat({required Size size, required ImageFileFormat format})
The constructor for the SizeAndFormat class

Properties

format ImageFileFormat
The format of the image
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The size of the image
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 ==(covariant SizeAndFormat other) bool
The equality operator.
override