User Interface medium complexity mobile
2
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Flutter Semantics wrapper widget applied at the data-binding layer to any widget rendering an annotated sensitive field. Intercepts accessibility focus events via the Flutter Semantics API and delegates to the Readout Warning Widget before allowing the underlying value node to gain focus.

Feature: Sensitive Field Readout Warning

sensitive-field-wrapper

Responsibilities

  • Wrap any data-bound widget whose field is marked sensitive with a custom Semantics node
  • Detect when a screen reader focus event targets the wrapped node
  • Trigger the Readout Warning Widget and suspend focus progression until user confirms or cancels
  • Ensure consistent annotation across all screens rendering the same data field

Interfaces

SensitiveFieldWrapper({required Widget child, required String fieldKey, required SensitiveFieldAnnotationService annotationService})
isSensitive(fieldKey: String) → bool

Relationships

Dependencies (2)

Components this component depends on