ZenScopeNotFoundException constructor

ZenScopeNotFoundException({
  1. String? widgetType,
})

Implementation

ZenScopeNotFoundException({
  String? widgetType,
}) : super(
        'No ZenScope found in widget tree',
        context: widgetType != null ? {'Widget': widgetType} : null,
        suggestion: 'Wrap your widget tree with ZenScope or use ZenRoute',
        docLink: 'https://github.com/sdegenaar/zenify#scopes',
      );