💄 Shadow on reblur button

This commit is contained in:
2025-09-07 02:35:36 +08:00
parent 3281d69eba
commit be80f5ff85

View File

@@ -908,7 +908,17 @@ class _SensitiveOverlay extends StatelessWidget {
child: IconButton( child: IconButton(
iconSize: 16, iconSize: 16,
constraints: const BoxConstraints(), constraints: const BoxConstraints(),
icon: const Icon(Icons.visibility_off, color: Colors.white), icon: const Icon(
Icons.visibility_off,
color: Colors.white,
shadows: [
Shadow(
color: Colors.black,
blurRadius: 5.0,
offset: Offset(1.0, 1.0),
),
],
),
tooltip: 'Blur content', tooltip: 'Blur content',
onPressed: onHide, onPressed: onHide,
), ),