feat: emote selection

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-23 16:13:37 +08:00
parent 565a2f8754
commit 0ca091ac48
12 changed files with 250 additions and 20 deletions

View File

@@ -45,6 +45,8 @@ $TextFieldPatch = "lib/scripts/text_field.patch"
$ScrollPositionPatch = "lib/scripts/scroll_position.patch"
$SelectionPlaceholderPatch = "lib/scripts/selection_placeholder.patch"
# TODO: remove
# https://github.com/flutter/flutter/pull/183261
$SelectableRegionPatch = "lib/scripts/null_safety_for_selectable_region.patch"
@@ -77,7 +79,8 @@ $reverts = @()
$patches = @($ModalBarrierPatch, $TextSelectionPatch, $MouseCursorPatch,
$ImageAnimPatch, $LayoutBuilderPatch, $NavigationDrawerPatch,
$PopupMenuPatch, $FABPatch, $SelectableRegionPatch, $SelectableRegionSelectionPatch,
$EditableTextPatch, $TextFieldPatch, $ScrollPositionPatch)
$EditableTextPatch, $TextFieldPatch, $ScrollPositionPatch,
$SelectionPlaceholderPatch)
switch ($platform.ToLower()) {
"android" {