SubFocusScope constructor

const SubFocusScope({
  1. Key? key,
  2. SubFocusScopeBuilder? builder,
  3. bool autofocus = false,
})

Creates a sub-focus scope.

Parameters:

  • builder: Widget builder with scope state (optional)
  • autofocus: Auto-focus first child (defaults to false)

Implementation

const SubFocusScope({super.key, this.builder, this.autofocus = false});