Is there a way to display animated SVG with flutter? - flutter

I am trying to display an animated SVG on Flutter,
this SVG itself contain animations, I don't want to animated from outside using an other library, if I try to apply SvgPicture.asset() to show it, it bring it without any animation.

Flutter currently doesn't provide any SVG support directly.
You can use https://pub.dartlang.org/packages/flutter_svg for basic SVG support
and Lottie or Fluttie for animated vector graphics.

Related

How to zoom in SVG picture freely in Flutter

I am using flutter_svg package to show svg picture in flutter but I want to be able to zoom into this picture without losing the svg properties of keeping the resolution, I have tried to use photo_view for zooming capabilities and flutter_svg_provider to use svg picture as image provider but it's not working properly.
So is there a way to be able to zoom and move freely in SVG picture in Flutter?

Is flutter able to show svg that has animation?

I already have an svg that itself has animation,
but once I use it as any other svg the animation is not considered ...
I checked the svg and it has "animateTransform" to make the picture move, in special rotation and speed
do you think is there a solution to make it move ? I don't want any external animation but only the one that comes with the SVG itself ..

How to draw overlaying shapes in flutter

I'm trying to recreate a UI in flutter that looks like this I need to get this shapes in the position they appear in the image above, I did some research and came across Flutter Custom Paint, tried checking for tutorials on how to use it to achieve this design but can't find anything that points me in the right direction. Please is there anyway in flutter to recreate this UI?
Instead of complicating things
You can use stack for overlapping
And for that circles you can use containers with borderradius
and using positioned widget to position the circles based on your need
MORE THAN THIS
you can export that design as an image and use
Stack{
children[
THAT IMAGE,
YOUR UI,
]}

How to draw an animated logo using dart flutter as a splash screen

I am trying to create a dynamic logo using as a splash screen using dart flutter as the below image
So as the previous image this shield logo there's a way to create it dynamically using dart-flutter as to able to animate it easily as dragable those small squares in the shield logo...
There's a tutorial or docs related to this case could help me...
I hope this would be clear enough..
If there is no user interaction then you could use
Lottie animation or else if you want to have a user interaction with the animation to it then you could do like
ColorFiltered with the position
Update the state of the position from drag/click position

Sprite Animation for PNG [Flutter]

I have a single PNG image(32px X 128px). Each 32px square contains a image as shown below.
What widget(s) should i use in flutter to provide this image as input and expect a GIF like animated image?
If that is not possible, how can i import few images(maybe 4 images) and display them one after the other inside the same Container, to make the image look like its animating?
Use this package spritewidget https://pub.dev/packages/spritewidget