scroll_loop_auto_scroll 0.0.4 copy "scroll_loop_auto_scroll: ^0.0.4" to clipboard
scroll_loop_auto_scroll: ^0.0.4 copied to clipboard

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

Scroll Loop Auto Scroll #

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

Example #

Features #

  • Infinite Auto Scroll
  • Custom child widgets
  • Delay after every round
  • Custom scroll direction
  • Specifying custom durations and gap
  • Like for more features

Installation #

Add scroll_loop_auto_scroll: ^0.0.4 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),
   disableAnimation: false,
   duration: Duration(seconds: 10),
   gap: 25,
   pause: Duration(seconds: 5),
   reverseScroll: false
 )

License #

MIT

91
likes
120
pub points
93%
popularity

Publisher

verified publishergappsolution.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on scroll_loop_auto_scroll