SemanticButton constructor

SemanticButton({
  1. String? glintId,
  2. String? label,
  3. bool isToggle = false,
  4. List<SemanticNode> children = const [],
})

Implementation

SemanticButton({
  super.glintId,
  this.label,
  this.isToggle = false,
  super.children = const [],
}) : super(affordances: const {Affordance.tappable});