FocusableControl constructor

const FocusableControl({
  1. Key? key,
  2. required void onActivate()?,
  3. void onSecondaryActivate()?,
  4. required Widget builder(
    1. CellStyle style,
    2. bool enabled,
    3. Set<CellStyleState> states
    ),
  5. required SemanticRole semanticRole,
  6. required CellStyle defaultStyle,
  7. String? semanticLabel,
  8. Object? semanticValue,
  9. bool? semanticChecked,
  10. bool semanticSelected = false,
  11. bool styleSelected = false,
  12. SemanticSetValueCallback? onSetValue,
  13. FocusNode? focusNode,
  14. bool autofocus = false,
  15. bool participatesInForm = false,
  16. String? validationError,
  17. CellStyle? style,
})

Implementation

const FocusableControl({
  super.key,
  required this.onActivate,
  this.onSecondaryActivate,
  required this.builder,
  required this.semanticRole,
  required this.defaultStyle,
  this.semanticLabel,
  this.semanticValue,
  this.semanticChecked,
  this.semanticSelected = false,
  this.styleSelected = false,
  this.onSetValue,
  this.focusNode,
  this.autofocus = false,
  this.participatesInForm = false,
  this.validationError,
  this.style,
});