addToBottom method

void addToBottom(
  1. T item
)

Adds an item to the bottom of the list.

Implementation

void addToBottom(T item) {
  _newItems.add(item);
  _lastAddedToBottom = true;
  notifyListeners();
}