invoke method

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

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.

Implementation

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