parallax_animation library

Classes

OptionalClipRect
ClipRect wrapper, wrap the child with a ClipRect only if the clip parameter is true
ParallaxArea
Widget used to provide his viewport boundary and scroll notification to any ParallaxWidget along the subtree. This widget needs to be placed above the Scrollable where we want to obtain the parallax effect
ParallaxData
ParallaxData InheritedWidget used to manage the ParallaxWidget listeners
ParallaxWidget
A widget that overlap two widgets and gives a parallax effect to the background one. The effect is obtained by using a Stack and a nested OverflowBox twice the size of the main child For this widget working it needs to find a ParallaxArea somewhere above the tree The center of the parallax effect will be on the center of the first ParallaxArea found If no ParallaxArea is found this widget will simply render the child and the background without any effect.