StructsΒ§
- Frame
Durations - Stores the durations between each frame of an animated image
- Image
- A widget which displays an image.
- Image
Options - Image
Size - This type determines the constraints on how the size of an image should be calculated.
EnumsΒ§
- Image
Fit - This type determines how the image should try to fit within the UI.
- Image
Source - This type tells the
Ui
how to load an image.
FunctionsΒ§
- animated_
image_ πframe_ index - Calculates at which frame the animated image is
- are_
animated_ πimage_ bytes - decode_
animated_ image_ uri - Extracts uri and frame index
- encode_
animated_ πimage_ uri - Animated image uris contain the uri & the frame that will be displayed
- has_
gif_ magic_ header - Checks if bytes are gifs
- has_
webp_ header - Checks if bytes are webp
- is_
animated_ πimage_ uri - is_
gif_ πuri - Checks if uri is a gif file
- is_
webp_ πuri - Checks if uri is a webp file
- paint_
texture_ at - paint_
texture_ load_ result - scale_
to_ πfit - texture_
load_ result_ response - Attach tooltips like βLoadingβ¦β or βFailed loading: β¦β.