import 'package:flutter/foundation.dart'; /// Search chords supported by the shell, independent of theme overrides. List shellSearchShortcutLabels([TargetPlatform? platform]) { final target = platform ?? defaultTargetPlatform; final apple = target == TargetPlatform.macOS || target == TargetPlatform.iOS; return [ apple ? 'Option+/' : 'Alt+/', if (target == TargetPlatform.macOS) 'Cmd+/', 'Ctrl+/', ]; }