mirrored_repositories/myaccountsapp/lib
import 'package:flutter/material.dart';
import 'package:my_accounts/Screens/HomeView.dart';

// Routes are to manage navigation of the screens
Route<dynamic> onGenerateRoute(RouteSettings settings) {
  var routes = {
    HomeView.routeName: (context) => HomeView(),
  };
  WidgetBuilder builder = routes[settings.name];
  return MaterialPageRoute(builder: (ctx) => builder(ctx));
}
