CarpenterControl constructor

const CarpenterControl({
  1. Key? key,
  2. required CarpenterControlBuilder builder,
  3. VoidCallback? onTap,
  4. bool enabled = true,
  5. String? semanticLabel,
  6. bool semanticButton = true,
  7. bool? semanticChecked,
  8. bool? semanticToggled,
  9. bool? semanticSelected,
  10. bool semanticLink = false,
  11. MouseCursor? cursor,
  12. FocusNode? focusNode,
  13. bool autofocus = false,
})

Создает интерактивную оболочку.

Implementation

const CarpenterControl({
  super.key,
  required this.builder,
  this.onTap,
  this.enabled = true,
  this.semanticLabel,
  this.semanticButton = true,
  this.semanticChecked,
  this.semanticToggled,
  this.semanticSelected,
  this.semanticLink = false,
  this.cursor,
  this.focusNode,
  this.autofocus = false,
});