flutter_infinite_marquee
2.0.1, released a year ago by an unverified publisher
Frame-driven, lifecycle-aware marquee widget with unified speed control and interaction support.
WASM-ready
What it does
Provides smooth automatic scrolling of looping text or widgets in a marquee format. It supports click and drag interactions, adjustable speeds, and lifecycle-aware autoplay pause and resume.
AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display scrolling text or banner items in an infinite loop.
- You require custom item builders and separators for marquee elements.
Skip it when
- You are building full games or physics simulations where general-purpose game engines are more appropriate.
Strengths
- Frame-driven scrolling with Ticker for smooth motion across refresh rates.
- Lifecycle-aware autoplay pause/resume and built-in drag interaction.
- Unified speed API measured in logical pixels per second.
Weaknesses
- Limited to marquee and ticker-style scrolling use cases.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
SizedBox(
height: 50,
child: InfiniteMarquee(
speed: 60,
itemBuilder: (BuildContext context, int index) {
return Text('Hello, world! $index');
},
separatorBuilder: (context, index) => const SizedBox(width: 12),
),
)Alternatives
Packages that do the same job and could replace flutter_infinite_marquee.