FLUTTER ECOSYSTEM

Ashish-Raturi/scroll_loop_auto_scroll

यह विजेट स्वतः ही कस्टम बच्चा विजेट को अनंत लूप तक स्क्रॉल करता है।

scroll_loop_auto_scroll प्रोजेक्ट कवर
Stars
20
Forks
9
अंतिम पुश (UTC)
30 अक्टू॰ 2023
प्रोजेक्ट स्थिति
सक्रिय
Ashish Raturi GitHub avatar
GITHUB User

Ashish Raturi ↗

भाषाएँDart

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 3 आइटम
  • flutter{"sdk":"flutter"}
  • flutter_testडेवलपमेंट{"sdk":"flutter"}
  • flutter_lintsडेवलपमेंट^1.0.0

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Scroll Loop Auto Scroll

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

Examples

https://github.com/Ashish-Raturi/scroll_loop_auto_scroll/raw/master/doc/stockIndexLoop.gif https://github.com/Ashish-Raturi/scroll_loop_auto_scroll/raw/master/doc/example.gif

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