feat: title bar hafif degrade (alpha 0.1) + üst bölge masaüstüne saydam
Some checks failed
Build Windows / build-windows (push) Has been cancelled

This commit is contained in:
Alhan
2026-07-22 04:48:02 +03:00
parent b088e54991
commit 8dd1037f34
5 changed files with 21 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -118,7 +118,13 @@ class _ViewerScreenState extends State<ViewerScreen> with WindowListener {
},
child: Stack(
children: [
Container(color: const Color(0xFF1a1a1a)),
Positioned(
top: 40,
left: 0,
right: 0,
bottom: 0,
child: Container(color: const Color(0xFF1a1a1a)),
),
Container(
color: Colors.transparent,
child: _hasImages

View File

@@ -15,8 +15,20 @@ class CustomTitleBar extends StatelessWidget {
height: 40,
child: Stack(
children: [
const Positioned.fill(
child: SizedBox.shrink(),
// Çok hafif degrade — masaüstü arka planı hafifçe karartır
Positioned.fill(
child: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Color.fromRGBO(0, 0, 0, 0.1),
Color.fromRGBO(0, 0, 0, 0.0),
],
),
),
),
),
Positioned(
right: 0,

Binary file not shown.