Skip to content

Commit a194bc0

Browse files
committed
Add main differences between Text and ExtendedText
1 parent 2802630 commit a194bc0

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

README-ZH.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@
1414
- [Flutter RichText 支持特殊文字效果](https://juejin.im/post/5c8bf4fce51d451066008fa2)
1515
- [Flutter RichText支持文本选择](https://juejin.im/post/5cff71d46fb9a07ea6486a0e)
1616

17-
欢迎加入[Flutter Candies](https://github.com/fluttercandies),一起生产可爱的Flutter小糖果(QQ群181398081)
17+
18+
ExtendedText 是 Flutter 官方 Text 的三方扩展库,主要扩展功能如下:
19+
| 功能 | ExtendedText | Flutter 官方 Text |
20+
|--------------------------------------|-----------------------------------------------------------|-----------------------------------------------------|
21+
| 支持自定义文本溢出效果 | 支持,可以自定义溢出的 Widget,并控制溢出位置(前、中、后) | 不支 持 [26748](https://github.com/flutter/flutter/issues/26748) |
22+
| 支持复制特殊文本的真实值 | 支持,可以复制出文本的真实值,而不仅是 WidgetSpan 的占位值 | 只能复制出 WidgetSpan 的占位值 (\uFFFC) |
23+
| 根据文本格式快速构建富文本 | 支持,可以根据文本格式快速构建富文本 | 不支持 |
24+
1825

1926
## 目录
2027
- [extended_text](#extendedtext)

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ Language: English | [中文简体](README-ZH.md)
77
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.
88

99
[Web demo for ExtendedText](https://fluttercandies.github.io/extended_text/)
10+
11+
ExtendedText is a third-party extension library for Flutter's official Text component. The main extended features are as follows:
12+
13+
| Feature | ExtendedText | Text |
14+
|------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------|
15+
| Customized text overflow effects | Supported, allows customizing the overflow widget and controlling overflow positions (before, middle, after) | Not supported ([26748](https://github.com/flutter/flutter/issues/26748)) |
16+
| Copying the actual value of special text | Supported, enables copying the actual value of the text, not just the placeholder value of WidgetSpan | Can only copy the placeholder value of WidgetSpan (\uFFFC) |
17+
| Quick construction of rich text based on text format | Supported, enables quick construction of rich text based on text format | Not supported |
18+
19+
1020
## Table of contents
1121
- [extended\_text](#extended_text)
1222
- [Table of contents](#table-of-contents)

0 commit comments

Comments
 (0)