NiceAccessible constructor

const NiceAccessible({
  1. Key? key,
  2. required Widget child,
  3. String? label,
  4. String? hint,
  5. String? value,
  6. bool isButton = false,
  7. bool isLink = false,
  8. bool isHeader = false,
  9. bool isImage = false,
  10. bool isLiveRegion = false,
  11. bool isEnabled = true,
  12. bool? isSelected,
  13. bool? isChecked,
  14. bool? isExpanded,
  15. bool isFocusable = true,
  16. VoidCallback? onTap,
  17. VoidCallback? onLongPress,
  18. SemanticsSortKey? sortKey,
  19. 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,
});