disable<T> static method
disable the action mode, this automatically deselect all selected items
Implementation
static void disable<T>(BuildContext context) {
Provider.of<ItemsController<T>>(context, listen: false).disableActionMode();
}