• Greg Spencer's avatar
    Fix initial value for highlight mode on desktop platforms. (#54306) · c7b10df7
    Greg Spencer authored
    This fixes the initial value of FocusManager.highlightMode so that it gets initialized correctly on desktop platforms.
    
    My recent update of this code (#52990) broke things so that the highlight mode never changed from the initial default of touch, which meant that focus highlights didn't show unless you set FocusManager.highlightStrategy to something (even automatic, the default: setting it caused the mode to be updated).
    c7b10df7
widget_tester_test.dart 25.5 KB