Skip to content

Instantly share code, notes, and snippets.

@jacobaraujo7
Created January 22, 2020 13:40
Show Gist options
  • Select an option

  • Save jacobaraujo7/e7b1a95ab38004534fbcdf769a934f16 to your computer and use it in GitHub Desktop.

Select an option

Save jacobaraujo7/e7b1a95ab38004534fbcdf769a934f16 to your computer and use it in GitHub Desktop.
MultiProvider(
providers: [
Provider<Something>(create: (_) => Something()),
Provider<SomethingElse>(create: (_) => SomethingElse()),
Provider<AnotherThing>(create: (_) => AnotherThing()),
],
child: MaterialApp(),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment