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

isFocused method

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

Future<bool> isFocused ()

Gets the current focus state of the root viewRef.

Implementation

Future<bool> isFocused() async =>
    await FuchsiaViewsService.instance.platformViewChannel
        .invokeMethod('View.focus.getCurrent') as bool;