shield_view

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

shield view

A Flutter package for blocking the app's screen view by blurring it when the app is in the background.



Usage #
Import the package as:
import 'package:shield_view/shield_view.dart';
copied to clipboard
If you want to blur the whole app while it is in the background:
MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
builder: (context, child) {
// Wrapping with ShieldView like this will Shield the whole app.
return ShieldView(child: child!);
},
home: const HomePage(),
)
copied to clipboard
If you want to blur any specific page, just wrap the page with ShieldView.
ShieldView(child: HomePage());
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator