Format class

Implemented types

Constructors

Format(String? format, {bool? lossy, Progressive? progressive, bool? preserveTransparency, bool? ignoreMaskChannels})
Format.withString(String format, {bool? lossy, Progressive? progressive, bool? preserveTransparency, bool? ignoreMaskChannels})

Properties

format String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ignoreMaskChannels() Format
Ensures that an alpha channel is not applied to a TIFF image if it is a mask channel.
lossy([bool? lossy = true]) Format
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preserveTransparency() Format
Ensures that images with a transparency channel will be delivered in PNG format.
progressive(Progressive progressive) Format
Applicable only for JPG file format
toString() String
A string representation of this object.
override

Operators

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

Static Methods

custom(String format) String

Constants

ai → const String
arw → const String
audioAac → const String
audioAiff → const String
audioAmr → const String
audioFlac → const String
audioM4a → const String
audioMp3 → const String
audioOgg → const String
audioOpus → const String
audioWav → const String
auto → const String
avif → const String
bmp → const String
cr2 → const String
djvu → const String
eps → const String
eps3 → const String
ept → const String
flif → const String
fxb → const String
gif → const String
glb → const String
gltf → const String
hdp → const String
heic → const String
heif → const String
ico → const String
indd → const String
jp2 → const String
jpe → const String
jpeg → const String
jpg → const String
jxr → const String
pdf → const String
png → const String
ps → const String
spd → const String
svg → const String
tga → const String
tiff → const String
usdz → const String
video3g → const String
video3gp2 → const String
videoAvi → const String
videoFlv → const String
videoM2ts → const String
videoM3u8 → const String
videoMkv → const String
videoMov → const String
videoMp4 → const String
videoMpd → const String
videoMpeg → const String
videoMts → const String
videoMxf → const String
videoOgv → const String
videoTs → const String
videoWebm → const String
videoWmv → const String
wdp → const String
webp → const String