diff --git a/CHANGELOG.md b/CHANGELOG.md index e0d3c0f..26f2257 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.0.8 +* Docs: Fix typo in README usage section + ## 1.0.7 * Fix: This widget has been unmounted, so the State no longer has a context (and should be considered defunct). diff --git a/README.md b/README.md index a8445ab..533dd47 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A set of abstractions, utilities inspired from Android Jetpack 🚀 to help mana

- +

## Features @@ -42,7 +42,7 @@ You can access your `CounterViewModel` anywhere using `BuildContext` as describe ```dart @override Widget build(BuildContext context) { - final CounterViewModel viewModel = context.viewModel(); + final CounterViewModel viewModel = context.getViewModel(); } ``` diff --git a/pubspec.yaml b/pubspec.yaml index 33d29a6..f16a7b2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: jetpack description: A set of abstractions, utilities inspired from android Jetpack to help manage state in flutter applications. -version: 1.0.7 +version: 1.0.8 homepage: https://github.com/praja/jetpack environment: