wantKeepAlive property

  1. @override
  2. @protected
  3. @nonVirtual
bool wantKeepAlive
override

Whether the current instance should be kept alive.

Call updateKeepAlive whenever this getter's value changes.

Implementation

@override
@protected
@nonVirtual
bool get wantKeepAlive => this._keepAlive;
  1. @protected
  2. @nonVirtual
void wantKeepAlive=(bool value)

Implementation

@protected
@nonVirtual
set wantKeepAlive(bool value) {
  this._keepAlive = value;
  super.updateKeepAlive();
}