Search packages, repositories and app categories

text_scroll cover
Package detailsv0.2.1

text_scroll

TextScroll Flutter widget adds text auto-scrolling functionality (marquee text).

AndroidiOSWebmacOSWindowsLinux
30-day downloads
21.5K
Likes
194
Pub points
150

Install package

flutter pub add text_scroll

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

TextScroll is a Flutter widget that enables automatic scrolling of text, ideal for creating marquee effects. It smoothly animates text across the screen, making it perfect for displaying long content in limited space. The widget supports various customization options such as scroll speed, direction, and pause behavior. Compatible with all major platforms including Android, iOS, Web, macOS, Windows, and Linux, it integrates seamlessly into existing Flutter applications. Designed for simplicity and performance, TextScroll enhances user experience with minimal setup.

Use cases

  • Displaying long headlines in limited space
  • Creating animated banners or notifications
  • Showing ticker-style news feeds
  • Enhancing UI with dynamic text elements
  • Implementing scrolling subtitles or captions

Key features

  • Smooth auto-scrolling animation
  • Customizable scroll speed and direction
  • Pause on hover support
  • Cross-platform compatibility
  • Simple integration with minimal configuration
  • Supports multiline and single-line text

Suitable for

  • Developers building dashboards or news apps
  • Designers wanting dynamic text effects
  • Apps requiring continuous text display
  • Projects targeting multiple platforms
  • Users seeking lightweight animation solutions

Considerations

  • May require additional styling for optimal appearance
  • Performance impact with very long texts
  • Limited control over individual character animation
  • Not suitable for static text displays
  • Best used with short to moderately long text content

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

text_scroll

TextScroll Flutter widget adds text auto-scrolling functionality (marquee text).

demo

Features

  • endless and bouncing modes
  • delay and pause between rounds
  • max number of rounds
  • custom velocity
  • style and textAlign support

Getting started

To use this package, add text_scroll as a dependency in your pubspec.yaml file.

Usage

Minimal example:

    TextScroll('This is the sample text for Flutter TextScroll widget. ')

Custom settings:

    TextScroll(
        'This is the sample text for Flutter TextScroll widget. ',
        mode: TextScrollMode.bouncing,
        velocity: Velocity(pixelsPerSecond: Offset(150, 0)),
        delayBefore: Duration(milliseconds: 500),
        numberOfReps: 5,
        pauseBetween: Duration(milliseconds: 50),
        style: TextStyle(color: Colors.green),
        textAlign: TextAlign.right,
        selectable: true,
    )

See also

Categories

Source repository

Projects using this package