Skip to content
pubscout

re_editor

0.10.0, released 5 months ago by reqable.com

A lightweight text and code editor widget for Flutter with syntax highlighting and folding.

WASM-ready
$ flutter pub add re_editor
Source repository

What it does

Re-Editor provides a powerful multi-line text and code editor widget independently implemented for high performance. It supports features like syntax highlighting, line numbers, code folding, scrolling, and search.

AI-written summary of version 0.10.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a dedicated code or multi-line text editor inside your Flutter app.
  • You need high performance with large amounts of text compared to standard TextField.
  • You require custom line numbers, code folding, or syntax highlighting.

Skip it when

  • You need full IDE-like dynamic syntax analysis and language servers out of the box.
  • You just need a standard single-line text input field.

Strengths

  • High performance optimization for large texts.
  • Independent implementation of layout and rendering instead of secondary encapsulation of TextField.
  • Supports syntax highlighting, search/replace, folding, and custom indicators.

Weaknesses

  • Does not provide default UI for search panels, context menus, or autocomplete views out of the box.
  • Lacks advanced IDE dynamic syntax analysis.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2
Widget build(BuildContext context) {
  return CodeEditor(
    controller: CodeLineEditingController.fromText('Hello Reqable'),
  );
}

Alternatives

Packages that do the same job and could replace re_editor.

  • code_forge

    A powerful text editor widget for Flutter handling 1M+ lines with LSP and AI completion.

  • super_text_layout

    Configurable and extensible text display for custom decorations in Flutter.

  • code_editor

    A Flutter code editor widget with syntax highlighting, custom themes, and file navigation.

  • textf

    Drop-in Text and TextEditingController replacements for inline Markdown-like text formatting

Works with

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