diff --git a/README.md b/README.md index 1d3ed0e..0eae471 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ If you want to prevent user from taking screenshot or recording of your app. You ```dart class _MyHomePageState extends State with WidgetsBindingObserver { - final _noScreenshot = NoScreenshot(); + final _noScreenshot = NoScreenshot.instance; AppLifecycleState? _notification; @override