semantics method
Wraps widget with Semantics (simplified version)
Implementation
Widget semantics({
String? label,
String? hint,
bool? button,
bool? header,
bool excludeSemantics = false,
}) {
return Semantics(
label: label,
hint: hint,
button: button,
header: header,
excludeSemantics: excludeSemantics,
child: this,
);
}