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

A Flutter package for hiding the sensitive content of your app when you switch from one app to another. This way, no sensitive pieces of information are shown while the app previews.

flutter_sensitive_content 🕵️ #

Pub Version Pub Likes GitHub Stars GitHub License

A Flutter package for hiding the sensitive content of your app when you switch from one app to another.

This way, no sensitive pieces of information are shown while the app previews.

Features #

Protect you sensitive content with SensitiveContent widget. It listen for AppLifecycle states, when the app goes in background switch from child content to publicContent content.

Getting started #

Add this package to your yaml file

flutter_sensitive_content: 0.0.1

or exec this command:

flutter pub add flutter_sensitive_content

Usage #

Import the package in your dart file:

import 'package:flutter_sensitive_content/flutter_sensitive_content.dart';

Then, wrap your sensitive data with SensitiveContent widget

Scaffold(
  body: SensitiveContent(
    publicContent: Center(
      child: Text("Public Data"),
    ),
    child: Center(
      child: Text("Sensitive Data"),
    ),
  ),
);
Platform Sensitive Data Public Data
Android android demo sensitive data android demo public data
iOS ios demo sensitive data ios demo publica data
10
likes
150
pub points
55%
popularity

Publisher

unverified uploader

A Flutter package for hiding the sensitive content of your app when you switch from one app to another. This way, no sensitive pieces of information are shown while the app previews.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_sensitive_content