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