at method Null safety

bool at(
  1. BuildContext context
)

Returns whether the underline of DropdownButton widgets should be hidden.

Implementation

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