provider 1.2.0 copy "provider: ^1.2.0" to clipboard
provider: ^1.2.0 copied to clipboard

outdated

An helper to easily exposes a value using InheritedWidget without having to write one.

1.2.0 #

  • Added: HookProvider, a Provider that creates its value from a Hook.
  • Deprecated StatefulProvider. Either make a StatefulWidget or use HookProvider.
  • Integrated the widget inspector, so that Provider widget shows the current value.

1.1.1 #

  • add didChangeDependencies callback to allow updating the value based on an InheritedWidget
  • add updateShouldNotify method to both Provider and StatefulProvider

1.1.0 #

  • onDispose has been added to StatefulProvider
  • BuildContext is now passed to valueBuilder callback
10.5k
likes
0
points
3.6M
downloads

Publisher

verified publisherdash-overflow.net

Weekly Downloads

An helper to easily exposes a value using InheritedWidget without having to write one.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_hooks, functional_widget_annotation

More

Packages that depend on provider