removeItem method
Removes item and refreshes the attached drawer.
Implementation
bool removeItem(KFDrawerItem item) {
final removed = _items.remove(item);
if (removed) {
notifyListeners();
}
return removed;
}
Removes item and refreshes the attached drawer.
bool removeItem(KFDrawerItem item) {
final removed = _items.remove(item);
if (removed) {
notifyListeners();
}
return removed;
}