wantKeepAlive property
Whether the current instance should be kept alive.
Call updateKeepAlive whenever this getter's value changes.
Implementation
@override
bool get wantKeepAlive => _controller?.value.text.isNotEmpty ?? false;
Whether the current instance should be kept alive.
Call updateKeepAlive whenever this getter's value changes.
@override
bool get wantKeepAlive => _controller?.value.text.isNotEmpty ?? false;