1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

Another context menus example: custom menu (#1577)

This commit is contained in:
Justin McCandless
2023-01-20 13:45:19 -08:00
committed by GitHub
parent 56c01c31be
commit 6bd2d930bb
5 changed files with 168 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ Shows how to create a context menu with cascading submenus using
### [Custom buttons](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/custom_buttons_page.dart)
Shows how to customize the default buttons in the existing context menus.
### [Custom menu](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/custom_menu_page.dart)
Shows how to use any custom widgets as the menu itself, including the option to
keep the default buttons.
### [Default values](https://github.com/flutter/samples/blob/main/experimental/context_menus/lib/default_values_page.dart)
Demonstrates how the
[contextMenuBuilder](https://master-api.flutter.dev/flutter/material/TextField/contextMenuBuilder.html)