SubFocusBuilder typedef

SubFocusBuilder = Widget Function(BuildContext context, SubFocusState state)

Callback function type for building SubFocus widgets.

Receives the build context and focus state for creating widgets that respond to focus changes and user interactions. Callback function type for building SubFocus widgets.

Receives the build context and the focus state for managing focus presentation and behavior within the widget.

Parameters:

  • context: The build context
  • state: The focus state providing focus information and control methods

Returns the widget tree for this focusable element.

Implementation

typedef SubFocusBuilder = Widget Function(
  BuildContext context,
  SubFocusState state,
);