Skip to content

Commit c33edaf

Browse files
authored
Update content_menus README.md references (#2564)
Fix broken references in the README.md. <img width="1467" alt="image" src="https://github.com/user-attachments/assets/15f67114-f8a1-4a72-b4a4-0fa375832b26" /> ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [x] I have added sample code updates to the [changelog]. - [x] I updated/added relevant documentation (doc comments with `///`). If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md [changelog]: ../CHANGELOG.md
1 parent 42c081f commit c33edaf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

context_menus/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This sample shows how to create and customize cross-platform context menus,
44
such as the text selection toolbar on mobile or the right click menu on desktop.
55

6-
| ![Cascading example screenshot](https://raw.githubusercontent.com/flutter/samples/main/experimental/context_menus/screenshots/cascading.png) | ![Custom button example screenshot](https://raw.githubusercontent.com/flutter/samples/main/experimental/context_menus/screenshots/custom.png) | ![Email example screenshot](https://raw.githubusercontent.com/flutter/samples/main/experimental/context_menus/screenshots/email.png) | ![Widget example screenshot](https://raw.githubusercontent.com/flutter/samples/main/experimental/context_menus/screenshots/image.png) |
6+
| ![Cascading example screenshot](https://raw.githubusercontent.com/flutter/samples/main/context_menus/screenshots/cascading.png) | ![Custom button example screenshot](https://raw.githubusercontent.com/flutter/samples/main/context_menus/screenshots/custom.png) | ![Email example screenshot](https://raw.githubusercontent.com/flutter/samples/main/context_menus/screenshots/email.png) | ![Widget example screenshot](https://raw.githubusercontent.com/flutter/samples/main/context_menus/screenshots/image.png) |
77
| --- | --- | --- | --- |
88

99
## Running the sample
@@ -12,46 +12,46 @@ Just run `flutter run` in the same directory as this README file.
1212

1313
## The examples
1414

15-
### [Anywhere](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/anywhere_page.dart)
15+
### [Anywhere](https://github.com/flutter/samples/blob/main/context_menus/lib/anywhere_page.dart)
1616
Shows how to create a context menu in the parts of an app that don't related to
1717
text selection. For example, a menu in a desktop app that shows when the
1818
background of the app is right clicked.
1919

20-
### [Cascading menus](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/cascading_menu_page.dart)
20+
### [Cascading menus](https://github.com/flutter/samples/blob/main/context_menus/lib/cascading_menu_page.dart)
2121
Shows how to create a context menu with cascading submenus using
2222
[SubmenuButton](https://master-api.flutter.dev/flutter/material/SubmenuButton-class.html).
2323

24-
### [Custom buttons](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/custom_buttons_page.dart)
24+
### [Custom buttons](https://github.com/flutter/samples/blob/main/context_menus/lib/custom_buttons_page.dart)
2525
Shows how to customize the default buttons in the existing context menus.
2626

27-
### [Custom menu](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/custom_menu_page.dart)
27+
### [Custom menu](https://github.com/flutter/samples/blob/main/context_menus/lib/custom_menu_page.dart)
2828
Shows how to use any custom widgets as the menu itself, including the option to
2929
keep the default buttons.
3030

31-
### [Default values](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/default_values_page.dart)
31+
### [Default values](https://github.com/flutter/samples/blob/main/context_menus/lib/default_values_page.dart)
3232
Demonstrates how the
3333
[contextMenuBuilder](https://master-api.flutter.dev/flutter/material/TextField/contextMenuBuilder.html)
3434
property works with various possible values.
3535

36-
### [Email button](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/email_button_page.dart)
36+
### [Email button](https://github.com/flutter/samples/blob/main/context_menus/lib/email_button_page.dart)
3737
Shows how to create an "email" button in the default context menu that shows
3838
only when an email address is selected.
3939

40-
### [Field types](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/field_types_page.dart)
40+
### [Field types](https://github.com/flutter/samples/blob/main/context_menus/lib/field_types_page.dart)
4141
Shows how context menus work in the various different field widgets:
4242
EditableText, TextField, and CupertinoTextField.
4343

44-
### [Global selection](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/global_selection_page.dart)
44+
### [Global selection](https://github.com/flutter/samples/blob/main/context_menus/lib/global_selection_page.dart)
4545
Shows how to create a custom context menu in non-editable selection with
4646
[SelectionArea](https://master-api.flutter.dev/flutter/material/SelectionArea-class.html).
4747

48-
### [On a widget](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/image_page.dart)
48+
### [On a widget](https://github.com/flutter/samples/blob/main/context_menus/lib/image_page.dart)
4949
Shows how to make a widget show a context menu on right click or long press, in
5050
this case an Image widget.
5151

52-
### [Modified action](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/modified_action_page.dart)
52+
### [Modified action](https://github.com/flutter/samples/blob/main/context_menus/lib/modified_action_page.dart)
5353
Shows how to modify an existing button so that a custom action is performed when
5454
it is tapped.
5555

56-
### [Reordered buttons](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/reordered_buttons_page.dart)
56+
### [Reordered buttons](https://github.com/flutter/samples/blob/main/context_menus/lib/reordered_buttons_page.dart)
5757
Shows how to change the order of the default buttons.

0 commit comments

Comments
 (0)