1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-17 12:28:16 +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

@@ -32,7 +32,7 @@ class _PlatformSelectorState extends State<PlatformSelector> {
value: defaultTargetPlatform,
icon: const Icon(Icons.arrow_downward),
elevation: 16,
onChanged: (TargetPlatform? value) {
onChanged: (value) {
if (value == null) {
return;
}
@@ -40,7 +40,7 @@ class _PlatformSelectorState extends State<PlatformSelector> {
widget.onChangedPlatform(value);
setState(() {});
},
items: TargetPlatform.values.map((TargetPlatform platform) {
items: TargetPlatform.values.map((platform) {
return DropdownMenuItem<TargetPlatform>(
value: platform,
child: Row(