v1.2.6flutter_scroll_shadow
ScrollShadow는 스크롤 가능한 자식에 그림자를 추가합니다. ScrollController 및 수직 또는 수평 방향을 지원합니다.
41좋아요 3만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
스크롤 위젯에 그림자를 추가하는 Flutter 위젯
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
ScrollShadow is a widget for Flutter that adds shadows to a scrollable child.
Supports ScrollController and vertical or horizontal orientation.
![]() |
|---|
| ScrollShadow |
Axis
Make sure to check out the examples on GitHub.
Add the following line to pubspec.yaml:
dependencies:
flutter_scroll_shadow: <last-release>
Complete example available here.
ScrollShadow(
color: Colors.grey,
child: ListView(
children: List.generate(20, (index) => ListTile(title: Text('Element $index'),)),
),
);
color: for the shadows; default: Colors.greysize: The width or height of shadows, depending on Axis; default: 15.0child: Scrollable child contained by the ScrollShadowduration: Milliseconds, as an int, for animation of shadow visibility changes; default: 300fadeInCurve: The animation [Curve] to use for shadow appearance; default: Curves.easeInfadeOutCurve: The animation [Curve] to use for shadow disappearance; default: Curves.easeOutignoreInteraction: Determines if shadow is wrapped inside a [IgnorePointer] widget, so that all touch events with the shadow will be ignored; default: true
![]() |
![]() |
|---|---|
| Vertically-scrolling child | Horizontally-scrolling child |
| Package | Verison | Score | Likes | Test | Coverage |
|---|---|---|---|---|---|
| Package | Verison | Score | Likes | Test | Coverage |
|---|---|---|---|---|---|
의존성 목록 4 개
{"sdk":"flutter"}^1.18.0^5.0.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗