Skip to content

Commit

Permalink
docs: updated code in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Musaddiq625 committed Apr 27, 2024
1 parent 2a39ae9 commit 6c312a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ If you want to prevent user from taking screenshot or recording of your app. You

```dart
class _MyHomePageState extends State<MyHomePage> with WidgetsBindingObserver {
final _noScreenshot = NoScreenshot();
final _noScreenshot = NoScreenshot.instance;
AppLifecycleState? _notification;
@override
Expand Down

0 comments on commit 6c312a5

Please sign in to comment.