wantKeepAlive property

  1. @override
bool get wantKeepAlive
override

Whether the current instance should be kept alive.

Call updateKeepAlive whenever this getter's value changes.

Implementation

@override
bool get wantKeepAlive => widget.keepAlive;