currentPageDescription property
Implementation
FutureOr<String?> get currentPageDescription {
if (_currentPage != null && _currentPage!.description != null) {
FutureOr<String> func = _currentPage!.description!(_route!);
if (func is Future<String>) {
return func.then((value) => value);
}
return func;
} else {
return null;
}
}