withSemanticLabel method

Widget withSemanticLabel(
  1. String label
)

Add a semantic label to this widget.

Implementation

Widget withSemanticLabel(String label) {
  return Semantics(
    label: label,
    child: this,
  );
}