• Greg Spencer's avatar
    A bunch of cleanups and a missing `ShortcutRegistar` in `WidgetsApp` (#104560) · 0a417c3b
    Greg Spencer authored
    A bunch of random cleanup things I found while doing MenuBar development.
    
    Changes an if test to an assert in binding.dart, since the if should always be true.
    Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR.
    Moves a debug message in the FocusManager to print the result after the focus change instead of before.
    Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
    0a417c3b
focus_manager_test.dart 74.4 KB