active property

bool active

Implementation

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

Implementation

set active(bool newVal) {
  _active = newVal;
  for (final element in activate) {
    if (newVal) {
      element.classes.add('Active');
    } else {
      element.classes.remove('Active');
    }
  }
}