of static method

Implementation

static GfFormHandlerWidget of(BuildContext context) {
  final GfFormHandlerWidget? result =
      context.dependOnInheritedWidgetOfExactType<GfFormHandlerWidget>();
  assert(result != null, 'No GfFormHandlerWidget found in context');
  return result!;
}