File tree Expand file tree Collapse file tree 5 files changed +31
-7
lines changed
Expand file tree Collapse file tree 5 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ class Basic extends StatelessWidget {
7171 primaryColor: primaryColor,
7272 scaffoldBackgroundColor: desaturatedGreyColor,
7373 ),
74- home: AboutUsScreen (),
74+ home: MoreScreen (),
7575 debugShowCheckedModeBanner: false ,
7676 );
7777 }
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ class AboutUsScreen extends StatelessWidget {
4141 size: 17 ,
4242 ),
4343 isIconSameSize: false ,
44- onTap: () {},
44+ onTap: () {
45+ Navigator .of (context).pop ();
46+ },
4547 size: ButtonSize .big,
4648 text: 'Return' ,
4749 ),
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ class EditBusinessAccountScreen extends StatelessWidget {
4141 size: 17 ,
4242 ),
4343 isIconSameSize: false ,
44- onTap: () {},
44+ onTap: () {
45+ Navigator .of (context).pop ();
46+ },
4547 size: ButtonSize .big,
4648 text: 'Return' ,
4749 ),
Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ class EditPersonalAccountScreen extends StatelessWidget {
4141 size: 17 ,
4242 ),
4343 isIconSameSize: false ,
44- onTap: () {},
44+ onTap: () {
45+ Navigator .of (context).pop ();
46+ },
4547 size: ButtonSize .big,
4648 text: 'Return' ,
4749 ),
Original file line number Diff line number Diff line change 11import 'package:basic/constants/color_constants.dart' ;
22import 'package:basic/constants/textstyle_constants.dart' ;
3+ import 'package:basic/screens/about/about_us_screen.dart' ;
4+ import 'package:basic/screens/edit/edit_business_account_screen.dart' ;
5+ import 'package:basic/screens/edit/edit_personal_account_screen.dart' ;
36import 'package:flutter/material.dart' ;
47
58class MoreScreen extends StatelessWidget {
@@ -48,7 +51,12 @@ class MoreScreen extends StatelessWidget {
4851 Icons .arrow_forward_ios,
4952 size: 16 ,
5053 ),
51- onTap: () {},
54+ onTap: () {
55+ Navigator .of (context).push (
56+ MaterialPageRoute (builder: (BuildContext ctx) {
57+ return EditPersonalAccountScreen ();
58+ }));
59+ },
5260 ),
5361 Divider (height: 0 ),
5462 ListTile (
@@ -61,7 +69,12 @@ class MoreScreen extends StatelessWidget {
6169 Icons .arrow_forward_ios,
6270 size: 16 ,
6371 ),
64- onTap: () {},
72+ onTap: () {
73+ Navigator .of (context).push (
74+ MaterialPageRoute (builder: (BuildContext ctx) {
75+ return EditBusinessAccountScreen ();
76+ }));
77+ },
6578 ),
6679 ],
6780 ),
@@ -91,7 +104,12 @@ class MoreScreen extends StatelessWidget {
91104 Icons .arrow_forward_ios,
92105 size: 16 ,
93106 ),
94- onTap: () {},
107+ onTap: () {
108+ Navigator .of (context).push (
109+ MaterialPageRoute (builder: (BuildContext ctx) {
110+ return AboutUsScreen ();
111+ }));
112+ },
95113 ),
96114 Divider (height: 0 ),
97115 ListTile (
You can’t perform that action at this time.
0 commit comments