Skip to content
pubscout

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.

WASM-ready
$ flutter pub add languagetool_textfield
Source repository

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.

Works with

Packages commonly used together with languagetool_textfield: ones it builds on, ones built on it, and its own family.