App Lock Time
A Flutter package for implementing app lock functionality with customizable settings.
يمكنك تجربة هذا الكود داخل تطبيقك:
import 'package:flutter/material.dart';
import 'package:app_lock_time_flutter/app_lock_time_flutter.dart';
void main() {
runApp(
AppLockTime(
titleApp: "🔑 تطبيقي الآمن",
lockDate: "25/3/2025",
password: "1234",
isEnabled: true,
titleText: "🔒 أدخل كلمة المرور",
passwordHintText: "كلمة السر",
confirmButtonText: "فتح",
incorrectPasswordText: "❌ كلمة المرور غير صحيحة!",
backgroundColor: Colors.white,
textColor: Colors.black,
buttonColor: Colors.green,
fieldBorderColor: Colors.grey,
errorTextColor: Colors.red,
buttonWidth: 200,
buttonHeight: 60,
child: MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(title: const Text("التطبيق مفتوح"), centerTitle: true),
body: const Center(child: Text("مرحبًا بك في التطبيق!")),
),
),
),
);
}