Browse Source

Reduce gradiant contrast

Vishnu 4 years ago
parent
commit
9263e57c70
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/ui/detail_page.dart

+ 2 - 2
lib/ui/detail_page.dart

@@ -126,8 +126,8 @@ class _DetailPageState extends State<DetailPage> {
               begin: Alignment.topCenter,
               begin: Alignment.topCenter,
               end: Alignment.bottomCenter,
               end: Alignment.bottomCenter,
               colors: [
               colors: [
-                Colors.black.withOpacity(0.8),
                 Colors.black.withOpacity(0.64),
                 Colors.black.withOpacity(0.64),
+                Colors.black.withOpacity(0.5),
                 Colors.transparent,
                 Colors.transparent,
               ],
               ],
               stops: [0, 0.2, 1],
               stops: [0, 0.2, 1],
@@ -189,8 +189,8 @@ class _DetailPageState extends State<DetailPage> {
               end: Alignment.bottomCenter,
               end: Alignment.bottomCenter,
               colors: [
               colors: [
                 Colors.transparent,
                 Colors.transparent,
+                Colors.black.withOpacity(0.5),
                 Colors.black.withOpacity(0.64),
                 Colors.black.withOpacity(0.64),
-                Colors.black.withOpacity(0.8),
               ],
               ],
               stops: [0, 0.8, 1],
               stops: [0, 0.8, 1],
             ),
             ),