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

flutter_reorderable_list 표지
패키지 상세v1.3.1

flutter_reorderable_list

flutter용 재정렬 가능한 목록.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1.7만
좋아요
169
Pub 점수
130

패키지 설치

flutter pub add flutter_reorderable_list

패키지 개요

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

사용자가 리스트 내 항목을 드래그 앤 드롭하여 순서를 변경할 수 있는 재정렬 가능한 리스트 위젯을 제공하는 플러터 패키지입니다. 안드로이드, iOS, 웹, 맥OS, 윈도우, 리눅스 등 모든 주요 플랫폼을 지원합니다. 플러터의 기존 리스트 위젯과 원활하게 통합되며, 재정렬 시 부드러운 애니메이션을 제공합니다. 작업 관리자, 할 일 목록 또는 정렬 가능한 콘텐츠가 필요한 애플리케이션에 적합합니다.

사용 사례

  • 작업 우선순위
  • 정렬 가능한 할 일 목록
  • 사용자 정의 가능한 대시보드 레이아웃
  • 이미지 갤러리 재정렬
  • 사용자 정의 콘텐츠 시퀀스

주요 기능

  • 드래그 앤 드롭 재정렬
  • 부드러운 애니메이션
  • 크로스 플랫폼 호환성
  • ListView와의 간편한 통합
  • 사용자 정의 드래그 핸들을 지원합니다
  • 재정렬 중 항목 상태 유지

적합한 대상

  • 인터랙티브 리스트를 구축하는 개발자
  • 사용자 중심의 항목 정렬이 필요한 앱
  • 동적 콘텐츠 정렬을 가진 프로젝트
  • 직관적인 데이터 조작이 필요한 UI
  • 다중 플랫폼에서 Flutter를 사용하는 팀

고려 사항

  • 상태 관리에 주의 깊게 대응해야 합니다
  • 대규모 데이터 세트에서 성능에 영향을 미칠 수 있습니다
  • 복잡한 레이아웃에 적절한 제스처 처리가 필요합니다
  • 정적 또는 읽기 전용 목록에 적합하지 않습니다
  • 기본 드래그 동작 외의 사용자 정의가 제한되어 있음

원본 README

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

Reorderable List in Flutter

iOS-like proof of concept reorderable list with animations

Preview

Getting Started

See example/lib/main.dart for example usage

Highlights

Unlike flutter's ReorderableListView this one

  • Works with slivers so it can be placed in CustomScrollView and used with SliverAppBar
  • Supports large lists (thousands of items) without any issues

Other features

  • Smooth reordering animations
  • Supports different item heights
  • iOS like reordering with drag handle
  • Android like (long touch) reordering

Caveats

There are no API stability guarantees.

If you used previous version of reorderable list keep in mind that ReorderableListener now needs to be placed somewhere in ReorderableItem hierarchy in order to detect touch and trigger actual reordering (see the example).

Alternatively, you can wrap entire row in DelayedReorderableListener to get material like long-press reordering behavior.

카테고리

소스 저장소

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