• 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
..
fix_data Loading commit data...
src Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...