of static method

Implementation

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