Format class Null safety

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?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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
'ai'
arw → const String
'arw'
audioAac → const String
'aac'
audioAiff → const String
'aiff'
audioAmr → const String
'amr'
audioFlac → const String
'flac'
audioM4a → const String
'm4a'
audioMp3 → const String
'mp3'
audioOgg → const String
'ogg'
audioOpus → const String
'opus'
audioWav → const String
'wav'
auto → const String
'auto'
avif → const String
'avif'
bmp → const String
'bmp'
cr2 → const String
'cr2'
djvu → const String
'djvu'
eps → const String
'eps'
eps3 → const String
'eps3'
ept → const String
'ept'
flif → const String
'flif'
fxb → const String
'fxb'
gif → const String
'gif'
glb → const String
'glb'
gltf → const String
'gltf'
hdp → const String
'hdp'
heic → const String
'heic'
heif → const String
'heif'
ico → const String
'ico'
indd → const String
'indd'
jp2 → const String
'jp2'
jpe → const String
'jpe'
jpeg → const String
'jpeg'
jpg → const String
'jpg'
jxr → const String
'jxr'
pdf → const String
'pdf'
png → const String
'png'
ps → const String
'ps'
spd → const String
'spd'
svg → const String
'svg'
tga → const String
'tga'
tiff → const String
'tiff'
usdz → const String
'usdz'
video3g → const String
'3g'
video3gp2 → const String
'3gp2'
videoAvi → const String
'avi'
videoFlv → const String
'flv'
videoM2ts → const String
'm2ts'
videoM3u8 → const String
'm3u8'
videoMkv → const String
'mkv'
videoMov → const String
'mov'
videoMp4 → const String
'mp4'
videoMpd → const String
'mpd'
videoMpeg → const String
'mpeg'
videoMts → const String
'mts'
videoMxf → const String
'mxf'
videoOgv → const String
'ogv'
videoTs → const String
'ts'
videoWebm → const String
'webm'
videoWmv → const String
'wmv'
wdp → const String
'wdp'
webp → const String
'webp'