wantKeepAlive property
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;
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
final bool wantKeepAlive;