maybeOf static method

RegexFormController? maybeOf(
  1. BuildContext context
)

The controller of the nearest RegexForm, without depending on it.

Implementation

static RegexFormController? maybeOf(BuildContext context) =>
    context.getInheritedWidgetOfExactType<RegexFormScope>()?.notifier;