v0.2.0item_selector
ListView, GridView, Row, Column 또는 기본적으로 인덱스가 있는 자식 위젯을 가질 수 있는 어떤 부모 위젯과도 함께 작동하는 일반적인 항목 선택기입니다.
34좋아요 2230일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
Flutter용 항목 선택기
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A generic Flutter item selector that works with ListView, GridView, Row, Column, or basically any parent widget that can have indexed child widgets. It supports single-selection by tap, and multi-selection by long-press and drag with auto-scrolling.
| ListView | GridView |
|---|---|
![]() |
![]() |
| Column | Custom |
|---|---|
![]() |
![]() |
To use this package, add item_selector as a dependency in your pubspec.yaml file.
ItemSelectionController(
child: ListView(
children: List.generate(10, (int index) {
return ItemSelectionBuilder(
index: index,
builder: (BuildContext context, int index, bool selected) {
return Text('$index: $selected');
},
);
}),
),
)
Item Selector is based on Multi Select GridView in Flutter - by Simon Lightfoot.
의존성 목록 3 개
{"sdk":"flutter"}^0.3.0{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗