SetAssistiveWindowButtonHighlightedParameters constructor
SetAssistiveWindowButtonHighlightedParameters({
- required int contextId,
- required AssistiveWindowButton buttonId,
- required AssistiveWindowType windowType,
- String? announceString,
- 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,
);