SemanticsWidget constructor
const
SemanticsWidget({
- Key? key,
- required Widget child,
- String? label,
- String? value,
- String? tooltip,
- String? increasedValue,
- String? decreasedValue,
- String? hint,
- bool? button,
- bool? enabled,
- bool? checked,
- bool? selected,
- bool? toggled,
- bool? image,
- bool? header,
- bool? link,
- bool? slider,
- bool? readOnly,
- bool? focused,
- bool? obscured,
- bool? multiline,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- VoidCallback? onIncrease,
- VoidCallback? onDecrease,
- bool merge = true,
- bool testOnly = false,
- Map<
String, String> ? properties,
Implementation
const SemanticsWidget({
super.key,
required this.child,
this.label,
this.value,
this.tooltip,
this.increasedValue,
this.decreasedValue,
this.hint,
this.button,
this.enabled,
this.checked,
this.selected,
this.toggled,
this.image,
this.header,
this.link,
this.slider,
this.readOnly,
this.focused,
this.obscured,
this.multiline,
this.onTap,
this.onLongPress,
this.onIncrease,
this.onDecrease,
this.merge = true,
this.testOnly = false,
this.properties,
});