From 338358ce19f2b811045165a28eb6a9d8ccc415e6 Mon Sep 17 00:00:00 2001
From: Anager <fridrich1900@gmail.com>
Date: Tue, 5 Apr 2022 17:32:16 +0200
Subject: [PATCH] Profile and Settings

---
 lib/bottom_navigation_bar_buttons/profile/profile.dart | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/bottom_navigation_bar_buttons/profile/profile.dart b/lib/bottom_navigation_bar_buttons/profile/profile.dart
index c0005dd..b31edc4 100644
--- a/lib/bottom_navigation_bar_buttons/profile/profile.dart
+++ b/lib/bottom_navigation_bar_buttons/profile/profile.dart
@@ -1,5 +1,6 @@
 
 import 'package:flutter/material.dart';
+import 'package:deggendorf_app/bottom_navigation_bar_buttons/settings/settings.dart';
 
 class Profile extends StatefulWidget {
   const Profile({Key? key}) : super(key: key);
@@ -19,7 +20,12 @@ class _ProfilePage extends State<Profile> {
       appBar: AppBar(
         title: const Text('Konto'),
         actions: <Widget>[
-          IconButton(onPressed: null, icon: Icon(Icons.settings))
+          IconButton(onPressed:(){
+            Navigator.push(
+              context,
+              MaterialPageRoute(builder: (context) => const SettingScreen()),
+            );
+          }, icon: Icon(Icons.settings))
         ],
         backgroundColor: Colors.brown,
       ),
-- 
GitLab