Update: 2026-08-03 00:20:40
This commit is contained in:
@@ -339,7 +339,7 @@ class _EncryptToolPageState extends State<EncryptToolPage>
|
||||
color: _AppColors.accentGlow,
|
||||
borderRadius: BorderRadius.circular(20),
|
||||
border: Border.all(
|
||||
color: _AppColors.accent.withOpacity(0.3)),
|
||||
color: _AppColors.accent.withValues(alpha: 0.3)),
|
||||
),
|
||||
child: const Text(
|
||||
'AES-256',
|
||||
@@ -368,7 +368,7 @@ class _EncryptToolPageState extends State<EncryptToolPage>
|
||||
children: [
|
||||
// ─── Input Card ─────────────────────────────────────
|
||||
_GlassCard(
|
||||
borderColor: _AppColors.accent.withOpacity(0.2),
|
||||
borderColor: _AppColors.accent.withValues(alpha: 0.2),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
@@ -503,7 +503,7 @@ class _EncryptToolPageState extends State<EncryptToolPage>
|
||||
borderRadius: BorderRadius.circular(14),
|
||||
border: Border.all(
|
||||
color: _AppColors.error
|
||||
.withOpacity(0.4)),
|
||||
.withValues(alpha: 0.4)),
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
@@ -532,7 +532,7 @@ class _EncryptToolPageState extends State<EncryptToolPage>
|
||||
const SizedBox(height: 20),
|
||||
_GlassCard(
|
||||
borderColor:
|
||||
_AppColors.accentDecrypt.withOpacity(0.25),
|
||||
_AppColors.accentDecrypt.withValues(alpha: 0.25),
|
||||
headerWidget: Container(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 20, vertical: 14),
|
||||
@@ -671,7 +671,7 @@ class _GlassCard extends StatelessWidget {
|
||||
border: Border.all(color: borderColor, width: 1.2),
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black.withOpacity(0.35),
|
||||
color: Colors.black.withValues(alpha: 0.35),
|
||||
blurRadius: 24,
|
||||
offset: const Offset(0, 8),
|
||||
),
|
||||
@@ -826,9 +826,9 @@ class _MiniIconButton extends StatelessWidget {
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 6),
|
||||
decoration: BoxDecoration(
|
||||
color: color.withOpacity(0.1),
|
||||
color: color.withValues(alpha: 0.1),
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
border: Border.all(color: color.withOpacity(0.25)),
|
||||
border: Border.all(color: color.withValues(alpha: 0.25)),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
Reference in New Issue
Block a user