v0.2.1text_scroll
TextScroll Flutter 위젯은 텍스트 자동 스크롤 기능(마르케이 텍스트)을 추가합니다.
188좋아요 1.9만30일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
yurii-khi/text_scroll open-source repository details.
{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
TextScroll Flutter widget adds text auto-scrolling functionality (marquee text).
demo
endless and bouncing modesstyle and textAlign supportTo use this package, add text_scroll as a dependency in your pubspec.yaml file.
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,
)