FocusableControl constructor
const
FocusableControl({
- Key? key,
- required void onActivate()?,
- void onSecondaryActivate()?,
- required Widget builder(
- CellStyle style,
- bool enabled,
- Set<
CellStyleState> states
- required SemanticRole semanticRole,
- required CellStyle defaultStyle,
- String? semanticLabel,
- Object? semanticValue,
- bool? semanticChecked,
- bool semanticSelected = false,
- bool styleSelected = false,
- SemanticSetValueCallback? onSetValue,
- FocusNode? focusNode,
- bool autofocus = false,
- bool participatesInForm = false,
- String? validationError,
- 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,
});