routeMe function

MaterialPageRoute routeMe(
  1. Widget screen
)

Implementation

MaterialPageRoute routeMe(Widget screen) {
  return MaterialPageRoute(builder: (context) {
    return screen;
  });
}