extended_text_library 0.4.2

extended_text_library #

pub package

library for extended_text and extended_text_field.

extended_text #

pub package

extended official text to quickly build special text like inline image or @somebody,it also provide custom background,custom over flow.

extended_text_field #

pub package

extended official text field to quickly build special text like inline image or @somebody etc.


  • improve codes base on v1.7.8
  • support WidgetSpan (ExtendedWidgetSpan)


  • add textSpanNestToArray and textSpanToActualText


  • move extended_text_utils from extended_text_field


  • remove caretIn parameter(SpecialTextSpan)
  • deleteAll parameter has the same effect as caretIn parameter(SpecialTextSpan)


  • add caretIn parameter(whether caret can be move into special text for SpecialTextSpan(like a image span or @xxxx)) for SpecialTextSpan


  • add GestureRecognizer for image span


  • handle image loaded failed for image span


  • remove CachedNetworkImage


  • update deafult build method in SpecialTextSpanBuilder


  • change cacheImageFolderName from "extenedtext" to "cacheimage"


  • add BackgroundTextSpan, support to paint custom background


  • override compareTo method in SpecialTextSpan and ImageSpan to fix issue that image span or special text span was error rendering


  • fix start index is not right in SpecialTextSpanBuilder
  • override == and hashCode for ImageSpan


  • override == and hashCode for SpecialTextSpan
  • update build method in SpecialTextSpanBuilder


  • add deleteAll parameter for SpecialTextSpan


  • add following to support extended_text and extended_text_field cached_network_image.dart extended_text_utils.dart image_span.dart special_text_span_base.dart special_text_span_builder.dart


example #

A new Flutter application.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  extended_text_library: ^0.4.2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:extended_text_library/extended_text_library.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 17, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies