buildPage method Null safety
- @Deprecated('This method has been deprecated in favor of buildPageWithState. ' 'This feature was deprecated after v4.3.0.')
- BuildContext context
@Deprecated('This method has been deprecated in favor of buildPageWithState. ' 'This feature was deprecated after v4.3.0.')
A page builder for this route.
Subclasses can override this function to provide a custom Page.
Subclasses must override one of build, buildPageWithState or redirect.
Corresponds to GoRoute.pageBuilder.
By default, returns a Page instance that is ignored, causing a default Page implementation to be used with the results of build.
Implementation
@Deprecated(
'This method has been deprecated in favor of buildPageWithState. '
'This feature was deprecated after v4.3.0.',
)
Page<void> buildPage(BuildContext context) => const NoOpPage();