shieldex 0.0.1
shieldex: ^0.0.1 copied to clipboard
A powerful and lightweight Flutter plugin that prevents unauthorized viewing, screenshots, and screen recording.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:shieldex/shieldex.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: ShieldexRoll(
roll: Container(
color: Colors.white,
child: const Center(
child: Column(
children: [
Text('Rolling'),
CircularProgressIndicator(),
],
)
),
),
child: const Center(
child: Text('Hello World'),
),
),
),
);
}
}