Skip to content
Prev Previous commit
Next Next commit
add deprecate
  • Loading branch information
buenaflor committed Jan 25, 2024
commit d92d6d85a874e62fa0494a9c2b70ec75f30d548b
1 change: 1 addition & 0 deletions flutter/lib/src/screenshot/sentry_screenshot_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ final sentryScreenshotWidgetGlobalKey =
/// information see https://flutter.dev/docs/development/tools/web-renderers
/// - You can only have one [SentryScreenshotWidget] widget in your widget tree at all
/// times.
@Deprecated('Use [SentryWidget] instead')
class SentryScreenshotWidget extends StatefulWidget {
const SentryScreenshotWidget({super.key, required this.child});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ Element? _clickTrackerElement;
///
/// If you are using the [SentryScreenshotWidget] as well, make sure to add
/// [SentryUserInteractionWidget] as a child of [SentryScreenshotWidget].
@Deprecated('Use [SentryWidget] instead')
class SentryUserInteractionWidget extends StatefulWidget {
SentryUserInteractionWidget({
super.key,
Expand Down