flutter_sensitive_content 0.0.3 copy "flutter_sensitive_content: ^0.0.3" to clipboard
flutter_sensitive_content: ^0.0.3 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.3

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
11
likes
140
points
222
downloads

Publisher

verified publishercarlodotlog.dev

Weekly Downloads

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)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_sensitive_content