feat: title bar hafif degrade (alpha 0.1) + üst bölge masaüstüne saydam
Build Windows / build-windows (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
This commit is contained in:
1 parent
b088e54991
commit
8dd1037f34
5 files changed
+21
-3
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -118,7 +118,13 @@ class _ViewerScreenState extends State<ViewerScreen> with WindowListener {
|
|||||||
},
|
},
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Container(color: const Color(0xFF1a1a1a)),
|
Positioned(
|
||||||
|
top: 40,
|
||||||
|
left: 0,
|
||||||
|
right: 0,
|
||||||
|
bottom: 0,
|
||||||
|
child: Container(color: const Color(0xFF1a1a1a)),
|
||||||
|
),
|
||||||
Container(
|
Container(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
child: _hasImages
|
child: _hasImages
|
||||||
|
|||||||
@@ -15,8 +15,20 @@ class CustomTitleBar extends StatelessWidget {
|
|||||||
height: 40,
|
height: 40,
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
const Positioned.fill(
|
// Çok hafif degrade — masaüstü arka planı hafifçe karartır
|
||||||
child: SizedBox.shrink(),
|
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(
|
Positioned(
|
||||||
right: 0,
|
right: 0,
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user