boldTextOverride method Null safety
- BuildContext context
Returns the boldText accessibility setting for the nearest MediaQuery ancestor, or false if no such ancestor exists.
Implementation
static bool boldTextOverride(BuildContext context) {
return MediaQuery.maybeOf(context)?.boldText ?? false;
}