v0.0.5scroll_loop_auto_scroll
이 위젯은 사용자 정의 자식 위젯을 무한 루프로 자동 스크롤합니다.
120좋아요 2천30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
이 위젯은 사용자 정의 자식 위젯을 무한 루프로 자동 스크롤합니다.
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This widget automatically scrolls the custom child widget to an infinite loop.
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';
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,
)
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)
)
⭐️ Stripe In Flutter Link
⭐️ Flutter In-App Purchase Link
⭐️ Flutter In-App Subscription Link
MIT