credits
1.0.4, released 3 weeks ago by an unverified publisher
Auto‑scrolling end credits widget for Flutter
WASM-ready
What it does
Provides a scrollable list of arbitrary widgets that automatically scrolls over a set duration. It supports pause on touch, custom timing, styling, and callbacks when finished.
AI-written summary of version 1.0.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a cinematic credits sequence in a Flutter app
- You want to use any widgets (text, images, logos) as credit items
- You need pause on touch or replay functionality
Skip it when
- You need complex animation beyond linear scrolling
- You require integration with other animation libraries like Lottie or Rive
Strengths
- Simple API, no external dependencies
- Fully customizable children and timing
- Works on all Flutter platforms
- Pause on touch built‑in
Weaknesses
- Only linear scroll, no advanced physics or custom curves beyond Curves
- No built‑in support for dynamic content changes during scroll
- Limited to scrolling, not other animation types
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency via flutter pub add credits
Scaffold(
body: Credits(
duration: const Duration(seconds: 24),
delay: const Duration(milliseconds: 400),
onFinished: () => debugPrint('That’s a wrap!'),
children: const [
Text('Made together.', style: TextStyle(fontSize: 40, color: Colors.white)),
SizedBox(height: 32),
FlutterLogo(size: 48),
SizedBox(height: 32),
Text('Thank you.', style: TextStyle(color: Colors.white)),
],
),
)Alternatives
Packages that do the same job and could replace credits.
- lottie
Use for complex animated credits with Lottie files
96Compare - flutter_animate
Provides more animation options but not dedicated to credits
70Compare