• Jonah Williams's avatar
    Semantics framework updates (#18758) · 810a29d6
    Jonah Williams authored
    Changes:
    
    - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled.
    - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode
    - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node)
    - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android.
    - Added dismiss and liveRegion to snackbar widget
    - Updated custom painter semantics to handle image, liveRegion, toggle
    - Updated relevant tests to use correct flag/action
    810a29d6
semantics_event.dart 4.86 KB