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
Some checks failed
Build Windows / build-windows (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user