View Capture

Capture Flutter visuals Session Replay

LogRocketWidget

View Capture of Flutter screens requires some additional setup. In order to start capturing visuals of a session, add the LogRocketWidget above the top level of your app that you would like captured.

import 'package:logrocket_flutter/logrocket_flutter.dart';

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return LogRocketWidget(
      child: MaterialApp(
        ...
      ),
    ),
  }
}

View Capture Throttling

The SDK automatically prevents screen capture when the user is idle and last captured screen is minimally different. This reduces app network traffic generated by the LogRocket SDK and improves session replay performance. The difference threshold to capture a new screen defaults to 1% (screenshotSimilarityThreshold=0.01) but is configurable via LogRocketInitConfiguration. Valid values for screenshotSimilarityThreshold range from [0,1], and this behavior can be disabled by setting screenshotSimilarityThreshold to 0.

Redaction