focus method

  1. @override
void focus()
override

Item/component focuses itself

Implementation

@override
void focus() {
  if (_focusable == null) {
    _focusPending = true;
  } else {
    _focusable!.focus();
  }
}