-
-
Notifications
You must be signed in to change notification settings - Fork 38
docs: introduce animated_to as a handy animation package #139
Description
Description
How do you like introducing animated_to package somewhere in the document?
I believe animated_to will be a good tool to make more polished slide decks with animations in a handy way.
Let's say, if we want to display texts one by one with animation like below:
you can just wrap Text with AnimatedTo.
AnimatedTo.spring(
globalKey: _someGlobalKey,
child: Text('whatever text'),
slidingFrom: const Offset(0, 200),
),This also enables us to make more complex animations like:
We can still make this only by wrapping the circle widget with AnimatedTo and updating the structure of the widget tree by causing a rebuild.
This would let flutter_deck users focus on making content in each slide deck without making them consider how to implement animations.
You can see the source code of my usage here.
https://github.com/chooyan-eng/flutter_ninjas_2025/blob/main/lib/slide/why_declarative_slide.dart
and here
https://github.com/chooyan-eng/flutter_ninjas_2025/blob/main/lib/slide/impure_shell_slide.dart

