wantKeepAlive property Null safety

bool wantKeepAlive
final

This is used to keep the state of an image in the gallery (e.g. scale state). false -> resets the state (default) true -> keeps the state

Implementation

final bool wantKeepAlive;