invoke method

  1. @override
bool invoke(
  1. PreviousFocusIntent intent

Attempts to pass the focus to the previous widget.

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

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


bool invoke(PreviousFocusIntent intent) {
  return primaryFocus!.previousFocus();