FLUTTER ECOSYSTEM

knopp/flutter_reorderable_list

Flutter용 ReorderableList

flutter_reorderable_list 프로젝트 이미지
Stars
337
Forks
94
최근 푸시(UTC)
2023. 10. 25.
프로젝트 상태
활성
Matej Knopp GitHub avatar
GITHUB User

Matej Knopp ↗

Discord: matt_kn

언어DartHTMLRubyObjective-CKotlin

기술 주제

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

Reorderable List in Flutter

iOS-like proof of concept reorderable list with animations

Preview

https://i.imgur.com/nuHCTdP.gif

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.