sectioned_sliver_list/_internal_keys library

Internal sealed wrapper types used to keep section keys, item keys, section payloads, and item payloads in disjoint domains within a single underlying TreeController.

Not exported from the package barrel.

The wrappers are necessary because SectionedSliverList allows the section-key type and the item-key type to be the same (e.g., both String). Without the wrappers, _SectionKey("a") and _ItemKey("a") would collide as map keys in the underlying tree's node registry. The wrappers also let the node payload be either a section or an item without forcing the user to write a sealed union.

Classes

ItemKey<SKey, IKey>
ItemPayload<Section, Item>
SecKey<SKey, IKey>
SecPayload<Section, Item>
SectionKey<SKey, IKey>
SectionPayload<Section, Item>