of static method

FormScope? of(
  1. BuildContext context
)

Implementation

static FormScope? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<FormScope>();
}