buildPage method
Implementation
Page buildPage(BuildContext context, T value) {
final screen = screenBuilder(context, value);
if (pageBuilder != null) {
return pageBuilder!.call(context, screen);
}
return MaterialPage(child: screen);
}