active property

bool active
override

Implementation

bool get active => _active;
void active=(bool a)

Implementation

set active(bool a) {
  _active = a;
  // rebuild only the specific Item that changes its value
  notifyListeners();
}