Repository navigation
Add Design Doc for Composable Text Plugins in Flutter - #35
Open
hannah-hyj wants to merge 2 commits into
Open
hannah-hyj wants to merge 2 commits into
hannah-hyj wants to merge 2 commits into
Conversation
hannah-hyj
requested review from
Renzo-Olivares,
justinmc,
kevmoo and
mdebbar
October 15, 2026 00:54
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Demo app: https://hannah-hyj.github.io/flutter_text_plugin_demo/
issue: flutter/flutter#65504
Prototype Branch:
hannah-hyj/flutter@text-plugin-testing#25 was closed in favor of this one
Summary
Proposes a composable text plugin architecture (
TextPluginScope,TextPlugin, andTextDelegate) inpackage:flutter/rendering.dartandpackage:flutter/widgets.dart.This enables cross-cutting text inspection, background/foreground decoration painting, pointer gesture handling, and scroll-to-range across standard
Text,RichText, andEditableText(TextField) subtrees (RenderParagraphandRenderEditable) without requiring custom text widgets orTextSpanwrappers.Key Use Cases
Ctrl+F) across lazy scrollables (ListView.builder) and text fieldsPre-launch Checklist
design doc.dart run bin/assign_rfc_number.dartlocally when instructed).If you need help, consider asking for advice on the #hackers channel on Discord.