SetAssistiveWindowButtonHighlightedParameters constructor

SetAssistiveWindowButtonHighlightedParameters({
  1. required int contextId,
  2. required AssistiveWindowButton buttonId,
  3. required AssistiveWindowType windowType,
  4. String? announceString,
  5. required bool highlighted,
})

Implementation

SetAssistiveWindowButtonHighlightedParameters({
  /// ID of the context owning the assistive window.
  required int contextId,

  /// The ID of the button
  required AssistiveWindowButton buttonId,

  /// The window type the button belongs to.
  required AssistiveWindowType windowType,

  /// The text for the screenreader to announce.
  String? announceString,

  /// Whether the button should be highlighted.
  required bool highlighted,
}) : _wrapped = $js.SetAssistiveWindowButtonHighlightedParameters(
        contextID: contextId,
        buttonID: buttonId.toJS,
        windowType: windowType.toJS,
        announceString: announceString,
        highlighted: highlighted,
      );