v0.0.3parallax_effect
Parallax-Effekt-Animationen für alle Plattformen.
43Likes 1730-Tage-Downloads130Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
ketan2411/parallax_effect open-source repository details.
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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
)
)),
);
Abhängigkeiten 3 Einträge
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0Nach Anwendungsfall filtern, Aktivität vergleichen und vor der Nutzung das Originalprojekt prüfen.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗