• EricEnslen's avatar
    Allow ListTiles to be autofocused (#54229) · cccfe96e
    EricEnslen authored
    Adds an "autofocus" param to ListTile and its Checkbox, Radio and Switch variants, and passes the given value through to the wrapped InkWell, Switch, etc.
    
    This is important for scenarios like a settings screen, where the first interactable element on a page may be a SwitchListTile, for example.
    cccfe96e
radio_list_tile_test.dart 16.3 KB