AnimatedVectorDataToAnimation extension
An extension over AnimatedVectorData to export it to an animated file format to allow display over other apps.
Methods
-
renderAnimation(
{ExportAnimationFormat format = ExportAnimationFormat.gif, Color backgroundColor = Colors.transparent, int frameRate = 30, int? lastFrameDurationOverride, Size? targetSize, double frameDurationModifier = 1.0}) → Future< Uint8List> - Tranforms this AnimatedVectorData into an encoded byte list that represents an animated image file, either GIF or APNG. The byte encoding is ran on an isolate on non web platforms using compute.