isSemanticButton property

bool? isSemanticButton
final

Determine whether this subtree represents a button.

If this is null, the screen reader will not announce "button" when this is focused. This is useful for MenuItemButton and SubmenuButton when we traverse the menu system.

Defaults to true.

Implementation

final bool? isSemanticButton;