搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫solid-software/languagetool_textfield

languagetool_textfield

🌐 實現 LanguageTool 拼寫檢查的 Flutter 文本欄位。

languagetool_textfield 專案封面
星標
39
分支
16
最近推送(UTC)
2026年9月15日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

LanguageTool TextField

style: solid langtool

Providing powerful spell-checking and grammar correction capabilities.

       

Features

The LanguageTool TextField package is a spell-checker designed for Flutter apps. It integrates with the LanguageTool API to offer real-time spell-checking capabilities. This package will enhance text input accuracy by automatically detecting and highlighting spelling errors as users type.

It's particularly useful for apps that require precise text input, like chat or note-taking apps. By using the LanguageTool TextField package, developers can improve the user experience by providing an intuitive and reliable spell-checking feature.

Getting started

  1. Run this command:
flutter pub add languagetool_textfield
  1. Import the package:
import 'package:languagetool_textfield/languagetool_textfield.dart';

Quick Start

To start using the plugin, copy this code or follow the example project in 'languagetool_textfield/example'

// Create a text controller for the Widget
final _controller = LanguageToolController();

// Use the text field widget in your layout
child: LanguageToolTextField(
  controller: _controller,

  // A language code like en-US, de-DE, fr, or auto to guess
  // the language automatically.
  // language = 'auto' by default.
  language: 'en-US',
);

// Don't forget to dispose the controller
_controller.dispose();

Using Debounce and Throttle in LanguageTool TextField

To incorporate the debounce or throttle functionality into the LanguageTool TextField, follow these:

Create a LanguageToolController and provide the desired debounce/throttle delay duration and delay type:

final _controller = LanguageToolController(
  // If the delay value is [Duration.zero], no delay is applied.
  delay: Duration(milliseconds: 500), // Set the debounce/throttle delay duration here
  delayType: DelayType.debouncing, // Choose either DelayType.debouncing or DelayType.throttling
);

DelayType.debouncing - Calls a function when a user hasn't carried out the event in a specific amount of time.

DelayType.throttling - Calls a function at intervals of a specified amount of time while the user is carrying out the event.

Legal

This is an unofficial plugin. We are not affiliated with LanguageTool. All logos are of their respected owners.

Current issues

Current issues list is here.
Found a bug? Open the issue.

Solid Software GitHub avatar
GitHub 作者

Solid Software ↗

United States of America官方網站 ↗
語言DartRubyHTMLSwiftKotlinObjective-C

分類

此儲存庫發佈的套件

使用的依賴

依賴清單 9 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗