v0.1.0scroll_snap_effect
간편한 스크롤 스냅 효과를 만들 수 있는 플러터 패키지
26좋아요 1730일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
ListView에서 간단한 애니메이션 스크롤 스냅 효과를 만들 수 있는 Flutter 패키지
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter package to create easy animation scroll snap effect in ListView
// Example itemSize
// itemSize = child width (ex: 100) + child padding (ex: 16);
// itemSize = 116
ScrollSnapEffect(
itemSize: 116,
itemCount: 15,
padding: const EdgeInsets.symmetric(horizontal: 20),
onChanged: (index) {
debugPrint('$index');
},
itemBuilder: (context, index) {
return Padding(
padding: const EdgeInsets.only(right: 16),
child: SizedBox(
height: 100,
width: 100,
child: ColoredBox(
color: Colors.blue,
child: Center(
child: Text(
'$index',
style: const TextStyle(
color: Colors.white,
fontSize: 20,
),
),
),
),
),
);
},
),
Farhan Fadila
📫 How to reach me: farhan.fadila1717@gmail.com
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
