• Greg Spencer's avatar
    Re-land keyboard traversal PRs (#42278) · ce150971
    Greg Spencer authored
    This attempts to reland #40186 and #41220, that were reverted in #41945.
    
    The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed.
    
    I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...)
    
    Fixes #40101
    ce150971
user_accounts_drawer_header_test.dart 19.3 KB