invoke method

  1. @override
bool invoke(
  1. NextFocusIntent intent
)
override

Attempts to pass the focus to the next widget.

Returns true if a widget was focused as a result of invoking this action.

Returns false when the traversal reached the end and the engine must pass focus to platform UI.

Implementation

@override
bool invoke(NextFocusIntent intent) {
  return primaryFocus!.nextFocus();
}