Skip to content
pubscout

widget_marquee

0.0.8, released 3 years ago by statefulstudio.com

A marquee widget for animating looping through widgets horizontally.

WASM-ready
$ flutter pub add widget_marquee
Source repository

What it does

A marquee widget that loops content seamlessly in a continuous animation. The marquee will only animate if the content contained in the widget extends past the horizontal edge of the screen.

AI-written summary of version 0.0.8, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display scrolling text or widgets horizontally when they exceed screen width.
  • You want a continuous looping animation for horizontal content.

Skip it when

  • You need the elements being displayed to be interactable during the animation.
  • You require vertical scrolling marquees.

Strengths

  • Seamless looping animation for horizontal content.
  • Provides customizable parameters like delay, duration, gap, and pause.

Weaknesses

  • Elements being displayed are not interactable during the animation.
  • Limited to horizontal animations.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
Container(
    margin: const EdgeInsets.symmetric(horizontal: 20),
    child: Marquee(
        duration: const Duration(milliseconds: 5000),
        child: Text('Very long text that bleeds out of the rendering space'),
    },
),