removeItem method

bool removeItem(
  1. KFDrawerItem item
)

Removes item and refreshes the attached drawer.

Implementation

bool removeItem(KFDrawerItem item) {
  final removed = _items.remove(item);
  if (removed) {
    notifyListeners();
  }
  return removed;
}