visible property

bool visible

A getter method that returns the value of the _visible variable.

Implementation

bool get visible => _visible;
void visible=(bool value)

A setter method that sets the value of the _visible variable and then calls notifyListeners() to notify the listeners that the value has changed.

Implementation

set visible(bool value) {
  _visible = value;
  if (!_finalState && value) {
    _finalState = true;
  }
  notifyListeners();
}