plinth_hooks library

Reusable stateful controllers for Plinth UI.

Classes

PlinthDisclosureController
A ChangeNotifier-based equivalent of Mantine's useDisclosure hook — tracks a single open/closed boolean and exposes imperative open() / close() / toggle() methods, so it can drive Modal, Drawer, Popover, or any other overlay's visibility.