defaultValue property

T? defaultValue
final

During navigation, when a new stack is being composed, the values from the previous stack are reused. However, if the new stack contains routes (apart from the target route) that aren't present in the previous stack, those routes will have to rely on their default values.

You can also use the values parameter in HyperController.navigate to provide values for such routes.

Implementation

final T? defaultValue;