getPageName abstract method

Either<ValueListenable<String?>, String> getPageName(
  1. BuildContext context
)

Get name of the page.

The first value of the Either is used in case the page name is asynchronous. null value is for the loading state. The stream is updating when the name gets loaded.

Implementation

Either<ValueListenable<String?>, String> getPageName(BuildContext context);