패키지, 저장소 및 앱 카테고리 검색

flutter_scroll_shadow 표지
패키지 상세v1.2.6

flutter_scroll_shadow

ScrollShadow는 스크롤 가능한 자식에 그림자를 추가합니다. ScrollController 및 수직 또는 수평 방향을 지원합니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
3.3만
좋아요
41
Pub 점수
160

패키지 설치

flutter pub add flutter_scroll_shadow

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter Scroll Shadow는 스크롤 가능한 위젯에 동적 그림자를 추가하여 시각적 깊이와 사용자 피드백을 향상시키는 가벼운 패키지입니다. ScrollController와 완전 호환되며 수직 및 수평 스크롤 모두를 지원합니다. Android, iOS, Web, macOS, Windows, Linux 등 주요 플랫폼에서 리스트, 그리드 및 기타 스크롤 가능한 콘텐츠의 미적 향상을 위해 이상적입니다. 사용자가 스크롤할 때 그림자가 실시간으로 조정되어 미묘하지만 효과적인 시각적 효과를 만들어냅니다.

사용 사례

  • 목록 항목 가시성 향상
  • 스크롤 가능한 인터페이스에서 깊이 생성
  • 시각적 피드백을 통한 사용자 경험 개선
  • 대시보드 레이아웃에 세련됨을 더하기
  • 다크 모드 디자인 지원

주요 기능

  • 실시간 그림자 조정
  • 수직 및 수평 스크롤 지원
  • ScrollController 통합
  • 크로스 플랫폼 호환성
  • 최소 성능 오버헤드

적합한 대상

  • 시각적 완성도를 추구하는 UI 디자이너
  • 스크롤이 많은 앱을 개발하는 개발자
  • 미묘한 애니메이션을 필요로 하는 앱
  • 다중 플랫폼을 대상으로 하는 프로젝트
  • 반응형 디자인에 집중하는 팀

고려 사항

  • 저사양 기기에서 성능에 영향을 줄 수 있습니다
  • 그림자 모양은 테마와 배경에 따라 달라집니다
  • 그림자 강도를 넘어서는 사용자 정의가 제한되어 있습니다
  • 복잡한 스크롤 동작에 적합하지 않습니다
  • 다양한 화면 크기에서 신중한 테스트가 필요합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

flutter_scroll_shadow

Scroll Shadow

Pub Package Pub Points Pub Likes

Package Issue Package License

ScrollShadow is a widget for Flutter that adds shadows to a scrollable child.

Supports ScrollController and vertical or horizontal orientation.

Image
ScrollShadow

Features

  • Adds shadows over a scrollable child while not at its max extents
  • Supports vertical and horizontal Axis
  • Customizable animation duration
  • Determine how wide or tall shadows render

 

Usage

Make sure to check out the examples on GitHub.

Installation

Add the following line to pubspec.yaml:

dependencies:
  flutter_scroll_shadow: <last-release>
Basic setup

Complete example available here.

ScrollShadow(
  color: Colors.grey,
  child: ListView(
    children: List.generate(20, (index) => ListTile(title: Text('Element $index'),)),
  ),
);
Properties
  • color: for the shadows; default: Colors.grey
  • size: The width or height of shadows, depending on Axis; default: 15.0
  • child: Scrollable child contained by the ScrollShadow
  • duration: Milliseconds, as an int, for animation of shadow visibility changes; default: 300
  • fadeInCurve: The animation [Curve] to use for shadow appearance; default: Curves.easeIn
  • fadeOutCurve: The animation [Curve] to use for shadow disappearance; default: Curves.easeOut
  • ignoreInteraction: Determines if shadow is wrapped inside a [IgnorePointer] widget, so that all touch events with the shadow will be ignored; default: true

 

Example

Image Image
Vertically-scrolling child Horizontally-scrolling child

📚 My open source projects

Flutter
Package Verison Score Likes Test Coverage
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes
Pub Package Pub Points Pub Likes
Dart
Package Verison Score Likes Test Coverage
Pub Package Pub Points Pub Likes Test CI codecov
Pub Package Pub Points Pub Likes Test CI codecov

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트