provider 6.1.5+1 copy "provider: ^6.1.5+1" to clipboard
provider: ^6.1.5+1 copied to clipboard

A wrapper around InheritedWidget to make them easier to use and more reusable.

English | French | Português | 简体中文 | Español | 한국어 | বাংলা | 日本語 | Turkish | Italian

Build Status codecov Discord

A wrapper around InheritedWidget to make them easier to use and more reusable.

By using provider instead of manually writing InheritedWidget, you get:

  • simplified allocation/disposal of resources
  • lazy-loading
  • a vastly reduced boilerplate over making a new class every time
  • devtool friendly – using Provider, the state of your application will be visible in the Flutter devtool
  • a common way to consume these InheritedWidgets (See Provider.of/