flutter/examples
Renzo Olivares f60e54b24c
Fix SelectionArea select-word edge cases (#136920)
This change fixes issues with screen order comparison logic when rects are encompassed within each other. This was causing issues when trying to select text that includes inline `WidgetSpan`s inside of a `SelectionArea`.

* Adds `boundingBoxes` to `Selectable` for a more precise hit testing region.

Fixes #132821
Fixes updating selection edge by word boundary when widget spans are involved.
Fixes crash when sending select word selection event to an unselectable element.
2023-12-11 21:32:55 +00:00
..
api Fix SelectionArea select-word edge cases (#136920) 2023-12-11 21:32:55 +00:00
flutter_view [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
hello_world Roll dependencies (#139606) 2023-12-06 19:22:06 +00:00
image_list [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
layers [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
platform_channel [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
platform_channel_swift Roll dependencies (#139606) 2023-12-06 19:22:06 +00:00
platform_view [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
splash Roll dependencies (#139606) 2023-12-06 19:22:06 +00:00
texture Roll dependencies (#139606) 2023-12-06 19:22:06 +00:00
.clang-format Implement Linux part of examples (#108068) 2022-12-08 08:44:11 +13:00
flutter_gallery.readme Move flutter_gallery to the testing folder (#52532) 2020-03-16 10:31:42 +01:00
README.md Fix typo in README.md (#126053) 2023-05-04 14:58:17 +02:00

Flutter Examples

This directory contains several examples of using Flutter. To run an example, use flutter run inside that example's directory. See the getting started guide to install the flutter tool.

For additional samples, see the flutter/samples repo.

Available examples include:

Notes

Note on Gradle wrapper files in .gitignore:

Gradle wrapper files should normally be checked into source control. The example projects don't do that to avoid having several copies of the wrapper binary in the Flutter repo. Instead, the Gradle wrapper is injected by Flutter tooling, and the wrapper files are .gitignore'd to avoid making the Flutter repository dirty as a side effect of running the examples.