selectable_list library
Public import for SkdxSelectableList and its supporting types.
Classes
-
SkdxListSection<
T> - A localized collection section. Copies items to preserve snapshot identity.
-
SkdxSelectableList<
T, ID extends Object> - Controlled multi-selection with stable application IDs and optional reorder. The body builder supplies row text; native checkbox semantics and keyboard activation handle selection. Null onChanged makes selection read-only. onReorder preserves SKDX's legacy insertion-index contract: the target index includes the removed item, so decrement it when moving forward. Internally Flutter's onReorderItem is adapted back to this public contract. Consumer scroll controllers and item identity remain application-owned.
Enums
- SkdxCollectionLayout
- Layout choice for page-based collections; fixed-ratio grids require content designed to fit each cell. Use list layout for dynamically growing text.