at method

bool at (BuildContext context)

Returns whether the underline of DropdownButton widgets should be hidden.

Implementation

static bool at(BuildContext context) {
  return context.inheritFromWidgetOfExactType(DropdownButtonHideUnderline) != null;
}