runFullstoryWidget function

void runFullstoryWidget(
  1. Widget app, {
  2. FullstoryConfiguration? config,
  3. LogLevel logLevel = LogLevel.note,
  4. bool logScanMetrics = kDebugMode,
  5. bool shortenSelectors = true,
  6. bool captureImages = true,
  7. bool capturePainters = false,
  8. Set<Rasterizer<RenderBox>> rasterizers = const {},
})

Runs the given app inside a Fullstory-instrumented binding.

On web there is no Fullstory binding, so this is equivalent to calling the standard runWidget. The remaining parameters are accepted for API compatibility with the mobile implementation and are ignored.

Like with runWidget, this will not wrap the passed app with a default View, so be sure to provide your own!

Fullstory may be further configured by passing config.

Other fields are deprecated and will be removed in version 1.80.0.

Implementation

void runFullstoryWidget(
  Widget app, {
  FullstoryConfiguration? config,
  LogLevel logLevel = LogLevel.note,
  bool logScanMetrics = kDebugMode,
  bool shortenSelectors = true,
  bool captureImages = true,
  bool capturePainters = false,
  Set<Rasterizer> rasterizers = const {},
}) {
  // Web is not supported; run the widget with the default binding.
  runWidget(app);
}