key property
A LocalKey that will be given to the page which contains the given widget
This key mostly controls the page animation. If a page remains the same but the key is changes,
the page gets animated
The key is by default the value of the current path
(or aliases
) with
the path parameters replaced
Do provide a constant key if you don't want this page to animate even if path
or
aliases
path parameters change
Implementation
final LocalKey? key;