flutter_secure_content 0.0.2 copy "flutter_secure_content: ^0.0.2" to clipboard
flutter_secure_content: ^0.0.2 copied to clipboard

discontinued
outdated

Flutter plugin to secure content from screenshot or screen recording.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'dart:async';

import 'package:flutter/services.dart';
import 'package:flutter_secure_content/flutter_secure_content.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
    initPlatformSecure();
  }

  initPlatformSecure() async {
    await FlutterSecureContent.addFlags();
  }


  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(),
      ),
    );
  }
}
4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin to secure content from screenshot or screen recording.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_secure_content