flutter 3.44.0

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-16 22:51:33 +08:00
parent ad1583706a
commit 1fcc26464f
73 changed files with 1350 additions and 530 deletions

View File

@@ -150,20 +150,19 @@ class RichTextItem {
RichTextItem({
this.type = RichTextType.text,
required this.text,
String? rawText,
this._rawText,
required this.range,
this.emote,
this.id,
}) : _rawText = rawText;
});
RichTextItem.fromStart(
this.text, {
String? rawText,
this._rawText,
this.type = RichTextType.text,
this.emote,
this.id,
}) : range = TextRange(start: 0, end: text.length),
_rawText = rawText;
}) : range = TextRange(start: 0, end: text.length);
List<RichTextItem>? onInsert(
TextEditingDeltaInsertion delta,