Skip to content
pubscout

extended_text_library

12.0.1, released 2 years ago by fluttercandies.com

Provides extended Text and TextField widgets with inline images, custom backgrounds, and advanced selection handling.

WASM-ready
$ flutter pub add extended_text_library
Source repository

What it does

It adds special inline span support to render images, mentions, and custom styling inside regular text. The accompanying TextField variant offers the same features for editable content, including custom toolbars and selection handles.

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

Use it when

  • You need inline images or custom styled segments inside a Text widget
  • You require a TextField that can display rich content like mentions or emojis with custom selection UI

Skip it when

  • You only need plain text without special spans
  • You prefer a fully custom implementation rather than a library

Strengths

  • Rich inline content support
  • Customizable selection toolbar and handles
  • Works across all Flutter platforms

Weaknesses

  • Adds extra complexity to text handling
  • May have performance impact with many special spans

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:extended_text_library/extended_text_library.dart';

ExtendedText(
  "Hello @user 🌟",
  specialTextSpanBuilder: MySpecialTextSpanBuilder(),
);

ExtendedTextField(
  controller: TextEditingController(),
  specialTextSpanBuilder: MySpecialTextSpanBuilder(),
);

Alternatives

Packages that do the same job and could replace extended_text_library.

Works with

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