Skip to content

Commit

Permalink
Revert "Убрала прозрачность в navbar для единообразия"
Browse files Browse the repository at this point in the history
This reverts commit e4d86ba.
  • Loading branch information
SokolovaDaria committed Oct 7, 2024
1 parent 9c5f599 commit dcde74d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions lib/ui/views/main_page/main_page_navigation_bar.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'dart:ui';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:unn_mobile/core/viewmodels/main_page_view_model.dart';
Expand All @@ -17,13 +18,17 @@ class MainPageNavigationBar extends StatelessWidget {
return Stack(
alignment: Alignment.bottomCenter,
children: [
Positioned(
top: 0,
left: 0,
right: 0,
child: Container(
height: 0.3,
color: Colors.grey.withOpacity(0.5),
ClipRect(
child: BackdropFilter(
filter: ImageFilter.blur(
sigmaX: 6.0,
sigmaY: 6.0,
),
child: Container(
width: double.maxFinite,
height: 60,
color: Colors.transparent,
),
),
),
NavigationBar(
Expand Down

0 comments on commit dcde74d

Please sign in to comment.