animated_clipper 0.1.0 animated_clipper: ^0.1.0 copied to clipboard
ClipSwitch, AnimatedClipReveal and AnimatedCrossClip use ClipPathTransition for hiding and showing widgets. A collection of PathBuilders for rendering.
[0.1.0] - 2020-07-05 #
Better documentation, example gif
[0.0.1] - 2020-07-05 #
Intitial commit to define the Widgets and interfaces.
From highest to lowest level of abstraction:
- Stateful widgets with a built-in
AnimationController
AnimatedCrossClip
AnimatedClipReveal
ClipSwitch
(abstracts toAnimatedCrossClip
)
- Stateless widgets, bring your own
AnimationController
ClipPathTransition
- Abstract Classes
PathBuilder
- Returns a
Path
for a given value, where:0
is completely hidden- intermediate values are partially visible
1
is completely visible
- Returns a
PathBuilderClipper
- To allow a
PathBuilder
to be used as a CustomClipper
- To allow a
Plus, a collection of PathBuilder
objects:
PathBuilders.slideUp
PathBuilders.slideDown
PathBuilders.slideLeft
PathBuilders.slideRight
PathBuilders.splitVerticalIn
PathBuilders.splitVerticalOut
PathBuilders.splitHorizontalIn
PathBuilders.splitHorizontalOut
PathBuilders.circleIn
PathBuilders.circleOut