onFocus method

  1. @override
void onFocus()
override

Called when this component gains focus.

Override this method to implement custom behavior when the component becomes focused, such as showing a focus indicator or selecting text.

Implementation

@override
void onFocus() {
  // TODO: implement onFocus
}