{"repo":"haucky/drawing_animation","free":true,"listed":false,"github":"https://github.com/haucky/drawing_animation","clone":"git clone https://github.com/haucky/drawing_animation.git","description":"A Flutter library for gradually painting SVG path objects on canvas (drawing line animation).","language":"C++","stars":511,"topics":["flutter","dart","svg","svg-animations","svg-path"],"license":"BSD-2-Clause","category":"mobile-apps","readme_excerpt":"drawing animation From static SVG assets See more examples in the showcasing app. :--- :---: :---: Dynamically created from Path objects which are animated over time more coming soon ... The rendering library exposes a central widget called AnimatedDrawing which allows to render SVG paths (via AnimatedDrawing.svg ) or Flutter Path objects (via AnimatedDrawing.paths ) in a drawing like fashion. Getting Started - AnimatedDrawing.svg To get started with the drawing animation package you need a valid Svg file. Currently only simple path elements without transforms are supported (see Supported SVG specifications) 1. Add dependency in your pubspec.yaml 2. Add the SVG asset 3. Use the widget An AnimatedDrawing widget can be initiated in two ways: 1. Simplified - without animation controller (See Example 01) By default every animation repeats infinitely. For running an animation only once you can use a callback to set run to false after the first animation cycle completed (see field onFinish ). 2. Standard - with animation controller (See Example 02) The simplified version will be sufficient in most of the use cases. If you wish to controll the animation furthermore or you want to syncronize it with other existing animations, you might consider using an custom animation controller: 4. Check out examples in the examples folder. It seems that antialising for the Paint/Canvas is switched off when using debug mode. For pretty results use flutter run --release . Getting Started - Animated","default_branch":null,"files":null,"tree":[],"storefront":"/r/haucky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/haucky/drawing_animation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}