v0.0.3parallax_effect
Parallax effect animations for all platforms.
43Likes 1730-day downloads130Pub points
AndroidiOSWebmacOSWindowsLinux
ketan2411/parallax_effect open-source repository details.
English project snapshot. Visit GitHub for the latest content.
A Parallax effect package, Package is useful for animations for items in foreground, or background scrolling effect.
Parallax widget for Configurations:
ParallaxItemParallaxItem widget for Configurations:
TODO: Include short and useful examples for package users. Add longer examples
to /example folder.
class ParallaxExample extends StatefulWidget {
const ParallaxExample({Key? key}) : super(key: key);
@override
State<ParallaxExample> createState() => _ParallaxState();
}
class _ParallaxState extends State<ParallaxExample>
with TickerProviderStateMixin {
@override
Widget build(BuildContext context) {
return Parallax(
height: 400,
width: 400,
enableDrag: true,
items: List.generate(5,(index)=>
ParallaxItem(
factor:ParallaxFactor(0.05*index,0.05*index),
rotationFactor: ParallaxFactor(0,0.05*index),
child: Container(
height:50,
width:50,
color: Colors.green
)
)),
);
Dependency list 3 items
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗