• Caffeinix's avatar
    Reorders menu item button shortcuts on Mac-like platforms (#129309) · a4f79066
    Caffeinix authored
    The Apple Human Interface Guidelines give a specific ordering of the symbols
    used as modifier keys in menu shortcuts.  These guidelines are encoded into
    the native Cocoa or UIKit menu classes, and are intended to ensure that symbols
    are always aligned into columns of like symbols and do not move around in the
    case of dynamic menu items (for example, holding Option will transform certain
    menu items into different versions that take the Option key, so the Option key
    symbol appears to the left of most other symbols to avoid reordering).
    
    The Material spec says to use symbols for modifier keys on Mac and iOS, as this
    is what users there are familiar with.  It stands to reason that we should
    follow the platform guidelines fully, so this changes the MenuItemButton class
    to honor the HIG-compliant symbol ordering on Mac and iOS.
    
    Fixed: #129308
    a4f79066
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
dart Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
analysis_options.yaml Loading commit data...
flutter_test_config.dart Loading commit data...
image_data.dart Loading commit data...