library for extended_text and extended_text_field.
Extended official text to build special text like inline image or @somebody quickly,it also support custom background,custom over flow and custom selection toolbar and handles.
Extended official text field to build special text like inline image, @somebody, custom background etc quickly.It also support to build custom seleciton toolbar and handles.
- workaround about wrong selection position of WidgetSpan
- fix issue that ImageSpan's padding can't be null.
- add behavior for ImageSpan
- change kMinInteractiveSize to kExtendedMinInteractiveSize
- fix null exception of effectiveOffset in getCaretOffset method
- fix kMinInteractiveSize is missing in high version of flutter
- add common selection library for extended_text and extended_text_field
- set default value('\uFFFC') of actualText for ExtendedWidgetSpan
- add onTap call back for ImageSpan
- change return type to TextSpan for SpecialTextSpanBuilder's Build method
- 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
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:
dependencies: extended_text_library: ^0.4.9
2. Install it
You can install packages from the command line:
$ 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:
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]
We analyzed this package on Nov 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.0
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.6
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.