of static method

Implementation

static StandardSearchAnchorState? of(BuildContext context) {
  return context.findAncestorStateOfType<StandardSearchAnchorState>();
}