keepAlive property

bool keepAlive
final

Whether the widget should currently be kept alive.

Defaults to true. Changing this value at runtime updates the keep-alive state.

Implementation

final bool keepAlive;