Constructs a new CollectionViewFocusManager instance.
The collection view associated with this focus manager.
PrivatecollectionThe collection view instance associated with this focus manager.
The focus rectangle node used to visually indicate the focused item.
PrivatefocusThe current focus information.
PrivatefocusThe current percentage of focus animation completion.
PrivateisWhether the focus rectangle is currently animating.
Whether the focus rectangle is currently visible.
PrivatelastPrivatelastThe last spoken row index and item index for text-to-speech feedback.
PrivatenextThe next focus information for transitioning focus.
PrivatenullA null focus information object used as a fallback.
PrivatetextInjects the text-to-speech manager for providing audio feedback on focus changes.
Applies focus to the currently focused row in the collection view.
Whether the row is focused.
PrivateconfigureConfigures the focus rectangle node with default properties.
Renders the current focus information and updates the focus rectangle appearance.
Renders the next focus info.
Renders the focus rectangle while transitioning between items.
The percentage of focus animation completion.
Marks the focus transition as complete and applies the focus to the row.
Optionalscale: numberSets the next focus information for transitioning focus.
The next focus information.
PrivatespeakPrivateupdateUpdates the appearance of the focus rectangle based on the animation progress.
The percentage of focus animation completion.
Updates the visibility of the focus rectangle based on the focus chain state.
Whether the collection view is in the focus chain.
CollectionViewFocusManagermanages the focus rectangle and animations for a collection view. It handles focus transitions, rendering, and applying focus to rows and items.