isImage property
bool
get
isImage
Whether the file extension is a common image type.
Implementation
bool get isImage => const [
'jpg',
'jpeg',
'png',
'gif',
'webp',
'bmp',
'heic',
'svg'
].contains(_ext);