path property

String? path
final

Determines which route gets shown. This is analogous to IndexedStack.index It is nullable because PathStack will inherit .path from any parents, and also any PathStackPathProvider widgets above it. If no path can be located, and no path is assigned, it will default to PathStack.defaultPath

Implementation

final String? path;