isScreenReaderActive static method

bool isScreenReaderActive(
  1. BuildContext context
)

Check if a screen reader is active.

Implementation

static bool isScreenReaderActive(BuildContext context) {
  return MediaQuery.of(context).accessibleNavigation;
}