SemanticsWrapper.customItem constructor
SemanticsWrapper.customItem({
- bool? isChecked = false,
- bool? isToggled = false,
- bool? isSelected = false,
- bool? isReadOnly = false,
- bool? isEditable = false,
- bool? isFocusable = false,
- bool? isMutuallyExclusive = false,
- bool? isHidden = false,
- bool? isObscured = false,
- bool? isMultiline = false,
- bool? isLiveRegion = false,
- dynamic value,
- dynamic hint,
- required bool? isEnabled,
- required dynamic label,
Wrapper that governs a custom item
Implementation
SemanticsWrapper.customItem(
{this.isChecked = false,
this.isToggled = false,
this.isSelected = false,
this.isReadOnly = false,
this.isEditable = false,
this.isFocusable = false,
this.isMutuallyExclusive = false,
this.isHidden = false,
this.isObscured = false,
this.isMultiline = false,
this.isLiveRegion = false,
value,
hint,
required this.isEnabled,
required label})
: assert(isEnabled != null && label != ""),
super(
label: label,
checked: isChecked,
toggled: isToggled,
selected: isSelected,
readOnly: isReadOnly,
inMutuallyExclusiveGroup: isMutuallyExclusive,
hidden: isHidden,
obscured: isObscured,
multiline: isMultiline,
liveRegion: isLiveRegion,
value: value,
hint: hint,
enabled: isEnabled,
focusable: isFocusable,
focused: isSelected,
);