StorageTransform class

On-the-fly image transform options for StorageBucket.getPublicUrl.

Constructors

StorageTransform({int? width, int? height, String? format, int? quality, String? fit})
const

Properties

fit → String?
Resize behaviour: cover, contain, fill, inside, or outside.
final
format → String?
Output format: webp, jpeg, png, or avif.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int?
final
quality → int?
Quality 1–100.
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
toQuery() → Map<String, String>
toString() → String
A string representation of this object.
inherited

Operators

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