diff --git a/README.md b/README.md index 4044e707..89531e84 100644 --- a/README.md +++ b/README.md @@ -537,7 +537,7 @@ class HomePage extends StatelessWidget { child: Icon(Icons.add), onPressed: () { // You can retrive the class directly with `get` and execute the increment method - get().increment(); + Modular.get().increment(); }, ), );