rebuildTriggers property Null safety

RebuildTriggers rebuildTriggers

The values that should trigger rebuild.

By default, these fields' changes will invalidate cached widget tree:

In flutter_widget_from_html package, these are also included:

  • unsupportedWebViewWorkaroundForIssue37
  • webView
  • webViewJs

Implementation

RebuildTriggers get rebuildTriggers => RebuildTriggers([
      html,
      baseUrl,
      buildAsync,
      enableCaching,
      if (_rebuildTriggers != null) _rebuildTriggers,
    ]);