autoPlayAnimatedImages property

bool get autoPlayAnimatedImages

Whether the platform allows auto-playing animated images.

Only supported on iOS.

Always returns true on other platforms.

Implementation

// This index check is inverted (== 0 vs != 0) since most of the platforms
// don't have an option to disable animated images auto play.
bool get autoPlayAnimatedImages => _kNoAutoPlayAnimatedImagesIndex & _index == 0;