semantics method

Widget semantics({
  1. String? label,
  2. String? hint,
  3. bool? button,
  4. bool? enabled,
})

Implementation

Widget semantics({
  String? label,
  String? hint,
  bool? button,
  bool? enabled,
}) {
  return Semantics(
    label: label,
    hint: hint,
    button: button,
    enabled: enabled,
    child: this,
  );
}