shouldUseSemanticLabel static method
Implementation
static bool shouldUseSemanticLabel(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<HeroIconTheme>()
?.useDefaultSemanticLabel ??
false;
}
static bool shouldUseSemanticLabel(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<HeroIconTheme>()
?.useDefaultSemanticLabel ??
false;
}