of static method

FlForm of(
  1. BuildContext context
)

Implementation

static FlForm of(BuildContext context) {
  final form = context.dependOnInheritedWidgetOfExactType<FlForm>();
  assert(form != null, 'Connot find [FlForm] in given [BuildContext]');

  return form!;
}