focus method
Item/component focuses itself
Implementation
@override
void focus() {
if (disabled) return;
// Set to true so that the focus indicator is rendered.
_isKeyboardEvent = true;
_root.focus();
}
Item/component focuses itself
@override
void focus() {
if (disabled) return;
// Set to true so that the focus indicator is rendered.
_isKeyboardEvent = true;
_root.focus();
}