Google is committed to advancing racial equity for Black communities. See how.

requestFocus method

*[<Null safety>](https://dart.dev/null-safety)*
  • @override

Future<void> requestFocus ([int _ = 0])

override

Requests that focus be transferred to the remote Scene represented by this connection.

Implementation

@override
Future<void> requestFocus([int _ = 0]) async {
  assert(viewRef?.reference != null && _ == 0);
  return super.requestFocus(viewRef!.reference.handle!.handle);
}