of static method

WeFormState? of(
  1. BuildContext context
)

Implementation

static WeFormState? of(BuildContext context) {
  final WeFormScope? scope =
      context.dependOnInheritedWidgetOfExactType<WeFormScope>();
  return scope?.state;
}