1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-13 10:27:09 +00:00

experimental/context_menus: Update analysis_options.yaml (#1579)

This commit is contained in:
Brett Morgan
2023-01-20 19:12:56 +11:00
committed by GitHub
parent e2a6ac66d3
commit c46d418532
25 changed files with 100 additions and 136 deletions

View File

@@ -8,9 +8,9 @@ import 'platform_selector.dart';
class ReorderedButtonsPage extends StatelessWidget {
ReorderedButtonsPage({
Key? key,
super.key,
required this.onChangedPlatform,
}) : super(key: key);
});
static const String route = 'reordered-buttons';
static const String title = 'Reordered Buttons';
@@ -60,8 +60,8 @@ class ReorderedButtonsPage extends StatelessWidget {
TextField(
controller: _controllerReordered,
maxLines: 2,
contextMenuBuilder: (BuildContext context,
EditableTextState editableTextState) {
contextMenuBuilder: (context,
editableTextState) {
// Reorder the button datas by type.
final HashMap<ContextMenuButtonType, ContextMenuButtonItem>
buttonItemsMap =