SubFocus constructor

const SubFocus({
  1. Key? key,
  2. required SubFocusBuilder builder,
  3. bool enabled = true,
})

Creates a focusable widget.

Parameters:

  • builder: Widget builder with focus state (required)
  • enabled: Whether focus is enabled (defaults to true)

Implementation

const SubFocus({super.key, required this.builder, this.enabled = true});