Search packages, repositories and app categories

scroll_loop_auto_scroll cover
Package detailsv0.0.5

scroll_loop_auto_scroll

This widget automatically scrolls the custom child widget to an infinite loop.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
3.2K
Likes
120
Pub points
150

Install package

flutter pub add scroll_loop_auto_scroll

Package Overview

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

The scroll_loop_auto_scroll package provides a Flutter widget that enables automatic, infinite looping scrolling of a custom child widget. It is designed for use cases requiring continuous, seamless scrolling such as carousels, news tickers, or animated banners. The widget handles the logic for smooth transitions between items, ensuring no abrupt stops or jumps. It supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it highly versatile. Developers can customize scroll speed, direction, and loop behavior to fit their design needs.

Use cases

  • Infinite image carousels
  • News or ticker displays
  • Animated product showcases
  • Continuous content feeds
  • Auto-scrolling banners

Key features

  • Infinite loop scrolling
  • Customizable scroll speed
  • Supports multiple platforms
  • Smooth transition between items
  • Easy integration with existing widgets

Suitable for

  • Developers building dynamic UIs
  • Designers needing auto-scrolling elements
  • Apps with continuous content display
  • Cross-platform applications
  • Interactive landing pages

Considerations

  • May require performance optimization for large datasets
  • Not ideal for static or non-continuous content
  • Scroll direction must be explicitly defined
  • Potential accessibility challenges with rapid auto-scrolling
  • Limited control over individual item timing

Original README

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

Scroll Loop Auto Scroll

This widget automatically scrolls the custom child widget to an infinite loop.

Examples

Features

  • User scroll input 🆕
  • Infinite Auto Scroll
  • Custom child widgets
  • Custom scroll direction
  • Specifying custom durations and gap
  • Like for more features

Installation

Add scroll_loop_auto_scroll: ^0.0.5 to your pubspec.yaml dependencies. And import it:

import 'package:scroll_loop_auto_scroll/scroll_loop_auto_scroll.dart';

How to use

Simply create a ScrollLoopAutoScroll widget, and pass the required params:

  ScrollLoopAutoScroll(
    child: Text(
      'Very long text that bleeds out of the rendering space',
      style: TextStyle(fontSize: 20),
    ),
    scrollDirection: Axis.horizontal,
  )

Params


ScrollLoopAutoScroll(
   child: child, //required
   scrollDirection: Axis.horizontal, //required
   delay: Duration(seconds: 1),
   duration: Duration(seconds: 50),
   gap: 25,
   reverseScroll: false,
   duplicateChild : 25,
   enableScrollInput : true,
   delayAfterScrollInput : Duration(seconds: 1)
 )

More Level Up Your Flutter Skills

⭐️ Stripe In Flutter Link

⭐️ Flutter In-App Purchase Link

⭐️ Flutter In-App Subscription Link

License

MIT

Categories

Source repository

Projects using this package

No data available yet.