addItem method

void addItem(
  1. KFDrawerItem item
)

Adds item and refreshes the attached drawer.

Implementation

void addItem(KFDrawerItem item) {
  _items.add(item);
  notifyListeners();
}