button property

bool? button
final

If non-null, indicates that this subtree represents a button.

TalkBack/VoiceOver provides users with the hint "button" when a button is focused.

Implementation

final bool? button;