Skip to content
pubscout

text_editor

0.7.0, released 5 years ago by an unverified publisher

An Instagram-like text editor widget for editing text style, size, color, and alignment.

WASM-ready
$ flutter pub add text_editor
Source repository

What it does

Provides a Flutter widget that allows users to edit text styles including font family, size, color, and text alignment. It features a customizable design with palette colors and decorators similar to social media story editors.

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

Use it when

  • You are building an image or story editor feature similar to Instagram.
  • You need a dedicated UI widget for customizing TextStyle and TextAlign.

Skip it when

  • You need a fully-featured rich text editor for documents or notes.
  • You require complex text formatting like bolding specific words, lists, or links.

Strengths

  • Easy to integrate widget with customizable decoration.
  • Supports font family selection, size constraints, and color palettes.

Weaknesses

  • Limited to whole-text style changes rather than selective rich text editing.
  • Relatively narrow scope focused mainly on Instagram-style text overlays.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
TextEditor(
  fonts: fonts,
  paletteColors: colors,
  text: text,
  textStyle: textStyle,
  textAlingment: textAlign,
  onEditCompleted: (style, align, text) {
    setState(() {
      _text = text;
      _textStyle = style;
      _textAlign = align;
    });
  },
)

Alternatives

Packages that do the same job and could replace text_editor.