Skip to content

Instantly share code, notes, and snippets.

@jacobaraujo7
Created December 15, 2020 03:28
Show Gist options
  • Save jacobaraujo7/c8b31d1abc6eb7d57dfe5468d688cdc6 to your computer and use it in GitHub Desktop.
Save jacobaraujo7/c8b31d1abc6eb7d57dfe5468d688cdc6 to your computer and use it in GitHub Desktop.
class AppModule extends MainModule {
final List<Bind> binds = [];
@override
final List<ModularRoute> routes = [
ChildRoute('/', child: (_, args) => SplashPage()),
//added HomeModule
ModuleRoute('/home', module: HomeModule()),
];
@override
final Widget bootstrap = AppWidget();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment