NiceAccessible constructor
const
NiceAccessible({ - Key? key,
- required Widget child,
- String? label,
- String? hint,
- String? value,
- bool isButton = false,
- bool isLink = false,
- bool isImage = false,
- bool isLiveRegion = false,
- bool isEnabled = true,
- bool? isSelected,
- bool? isChecked,
- bool? isExpanded,
- bool isFocusable = true,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- SemanticsSortKey? sortKey,
- List<CustomSemanticsAction>? customActions,
})
Implementation
const NiceAccessible({
super.key,
required this.child,
this.label,
this.hint,
this.value,
this.isButton = false,
this.isLink = false,
this.isHeader = false,
this.isImage = false,
this.isLiveRegion = false,
this.isEnabled = true,
this.isSelected,
this.isChecked,
this.isExpanded,
this.isFocusable = true,
this.onTap,
this.onLongPress,
this.sortKey,
this.customActions,
});