Skip to content
Snippets Groups Projects
Commit 338358ce authored by Anager's avatar Anager
Browse files

Profile and Settings

parent a7fb590c
No related branches found
No related tags found
1 merge request!2Home page chaitanya
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,
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment