of static method

Implementation

static VoPageFlowController of(BuildContext context) {
  final scope = context.dependOnInheritedWidgetOfExactType<VoPageFlowScope>();

  assert(scope != null);

  return scope!.controller;
}