addAutomaticKeepAlive property

bool addAutomaticKeepAlive
final

set false if you don't want to preserve the state of the widget

Implementation

final bool addAutomaticKeepAlive;