Fix: replace last example of toggling state of spell check service to a better one

pull/2133/head
CatHood0 8 months ago
parent f69add159c
commit 5b32a3e367
  1. 3
      README.md

@ -336,7 +336,8 @@ One use of this would be having the opportunity to **activate and deactivate** t
```dart
SpellCheckerServiceProvider.toggleState();
isActivatedSpellChecker = SpellCheckerServiceProvider.isServiceActive();
// use isServiceActive to get the state of the service
SpellCheckerServiceProvider.isServiceActive();
setState(() {});
```

Loading…
Cancel
Save