asSemanticHeading method

Widget asSemanticHeading(
  1. String label
)

Mark this widget as a heading for screen readers.

Implementation

Widget asSemanticHeading(String label) {
  return Semantics(
    header: true,
    label: label,
    child: this,
  );
}