Skip to content

Commit 06ccadb

Browse files
committed
update README.md
1 parent d5aeb6c commit 06ccadb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ JuneBuilder(
4141
3. Update the states using the setState method.
4242
```dart
4343
// You can call state from anywhere.
44-
var state = June.getState(CounterVM());
44+
var state = June.getState(() => CounterVM());
4545
state.count++;
4646
4747
state.setState();

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: june
22
description: "June is a lightweight and modern state management library that focuses on providing a pattern very similar to Flutter's native state management."
3-
version: 1.0.0
3+
version: 1.0.0+1
44
homepage: https://github.com/melodysdreamj/june
55

66

0 commit comments

Comments
 (0)