ariaProps function
Returns a new AriaPropsMapView, optionally backed by a specified Map.
Convenient for adding aria props inline to DOM and non-DOM components:
..addProps(ariaProps()..disabled = true)
..addProps(ariaProps()
..expanded = false
..labelledby = 'label-btn'
)
Implementation
AriaPropsMapView ariaProps([Map? backingMap]) =>
AriaPropsMapView(backingMap ?? {});