of static method

FormContext? of(
  1. BuildContext context
)

Implementation

static FormContext? of(BuildContext context) {
  final scope =
      context.dependOnInheritedComponentOfExactType<ArcaneFormScope>();
  return scope?.formContext;
}