basePath property Null safety

String basePath

Uses widget.basePath -> currentRoutingPath

Implementation

String get basePath => widget.basePath ?? PathStack.of(context)?.currentRoutingPath ?? "";