From f5ecba78cb49376b18417b13aae097ccbf55ac79 Mon Sep 17 00:00:00 2001 From: Lukas <35173609+PHPLukaas@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:23:48 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8:=20fix=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app_student/lib/menu/menu_view.dart | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/app_student/lib/menu/menu_view.dart b/frontend/app_student/lib/menu/menu_view.dart index a52054b..cbca679 100644 --- a/frontend/app_student/lib/menu/menu_view.dart +++ b/frontend/app_student/lib/menu/menu_view.dart @@ -27,7 +27,9 @@ class MenuBarViewState extends State { 'assets/images/disconnect.svg', height: 20, width: 20, - color: _selectedIndex == 0 ? Colors.blue : null, + colorFilter: _selectedIndex == 0 + ? const ColorFilter.mode(Colors.blue, BlendMode.srcIn) + : null, ), label: '', ), @@ -36,7 +38,9 @@ class MenuBarViewState extends State { 'assets/images/calendar.svg', height: 20, width: 20, - color: _selectedIndex == 1 ? Colors.blue : null, + colorFilter: _selectedIndex == 1 + ? const ColorFilter.mode(Colors.blue, BlendMode.srcIn) + : null, ), label: '', ), @@ -45,7 +49,9 @@ class MenuBarViewState extends State { 'assets/images/profil.svg', height: 20, width: 20, - color: _selectedIndex == 2 ? Colors.blue : null, + colorFilter: _selectedIndex == 2 + ? const ColorFilter.mode(Colors.blue, BlendMode.srcIn) + : null, ), label: '', ),