Skip to content

Instantly share code, notes, and snippets.

@AseemWangoo
Created September 6, 2022 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AseemWangoo/b7c3bb32e2be6bbeb0c3c60ceaecdf31 to your computer and use it in GitHub Desktop.
Save AseemWangoo/b7c3bb32e2be6bbeb0c3c60ceaecdf31 to your computer and use it in GitHub Desktop.
main
Future<void> main() async {
setupLocator();
runApp(
MultiProvider(
providers: [
ChangeNotifierProvider(
create: (_) => HomeViewModel(repo: locator<HomeRepo>()),
),
],
child: MainApp(),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment