at method Null safety
- BuildContext context
Returns whether the underline of DropdownButton widgets should be hidden.
Implementation
static bool at(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<DropdownButtonHideUnderline>() != null;
}