languagetool_textfield
1.0.0, released 2 months ago by solid.software
A text field widget with real-time spell-checking and grammar correction using LanguageTool API.
What it does
Provides a customized Flutter TextField that integrates with the LanguageTool API to automatically detect and highlight spelling and grammar errors as users type. It includes controllers and popup UI for suggestions.
AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need in-app spell-checking and grammar correction for chat, messaging, or note-taking features.
- You want to connect text inputs to the LanguageTool API with minimal boilerplate.
Skip it when
- You need offline-only spell-checking without calling an external API.
- You want a standard platform-default spell checker rather than LanguageTool integration.
Strengths
- Real-time spell-checking and error highlighting as users type.
- Supports custom debounce and throttle delays for API requests.
- Extends Flutter's native TextField and matches its API.
Weaknesses
- Requires an external LanguageTool API connection.
- Depends on network availability for checks.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 6
Simply add the package dependency and instantiate LanguageToolController and LanguageToolTextField.
final _controller = LanguageToolController();
LanguageToolTextField(
controller: _controller,
language: 'en-US',
);Alternatives
Packages that do the same job and could replace languagetool_textfield.
- currency_text_input_formatter
Currency text input formatter for Flutter with localization and symbol support.
86Compare - flutter_masked_text2
Masked and money text input controllers for Flutter text fields.
50Compare - validatorless
Provides a means to validate text inputs on Flutter inspired by Yup.
79Compare - super_tag_editor
A Flutter widget for editing and managing tags with auto-suggestions and Material behavior.
74Compare
Works with
Packages commonly used together with languagetool_textfield: ones it builds on, ones built on it, and its own family.
- asynclanguagetool_textfield depends on itUtility classes and helpers that extend Dart's async library.
- throttlinglanguagetool_textfield depends on itThrottling and debouncing async helper classes with listeners in Dart
- pointer_interceptorlanguagetool_textfield depends on itA widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.