fading_marquee_widget
1.2.1, released 7 months ago by mds.gen.in
Applies a marquee scrolling effect with customizable fading edges to oversized widgets.
WASM-ready
What it does
Wraps child widgets to automatically scroll them in a single line when they exceed the available screen space. It integrates gradient fade effects on the edges during the marquee transition to blend the content smoothly. The package also supports configurable delays, pause durations, and right-to-left (RTL) text directions.
AI-written summary of version 1.2.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You have long text or widgets (like song titles or news tickers) that exceed single-line bounds and need an auto-scrolling marquee effect.
- You want smooth fading gradient edges at the start and end of scrolling content.
- You need marquee scrolling that adapts to right-to-left (RTL) reading directions.
Skip it when
- You prefer shrinking text to fit within screen limits instead of scrolling it (e.g., using auto_size_text).
- You need multi-line scrolling or complex interactive scroll views.
Strengths
- Zero external third-party dependencies beyond the Flutter SDK.
- Built-in support for RTL text via Directionality.
- Granular customization of gradient fade fractions, fade duration, scroll pauses, and delays.
Weaknesses
- Requires manual ID management (`id` property) to prevent false rebuilds in certain setups.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
FadingMarqueeWidget(
child: Text(
"very very very very very very very very very very long text.",
style: TextStyle(color: Colors.white),
),
)Alternatives
Packages that do the same job and could replace fading_marquee_widget.
- auto_size_text
Pick auto_size_text if you want text to scale down to fit into a container instead of continuously scrolling as a marquee.
50Compare