isFocused function

bool isFocused(
  1. dynamic item
)

Checks if PageLoaderElement/PageObject is focused.

Implementation

bool isFocused(item) =>
    _rootElementOfAndRethrow(item, 'isFocused/isNotFocused').isFocused;