home - Added AboutUs Button on appBar
This commit is contained in:
parent
5883059a87
commit
6ad3f1ff5a
1 changed files with 11 additions and 3 deletions
|
@ -6,6 +6,7 @@ import 'package:nekoya_flutter/components/new_arrival_products.dart';
|
||||||
import 'package:nekoya_flutter/components/newsletter.dart';
|
import 'package:nekoya_flutter/components/newsletter.dart';
|
||||||
import 'package:nekoya_flutter/components/popular_products.dart';
|
import 'package:nekoya_flutter/components/popular_products.dart';
|
||||||
import 'package:nekoya_flutter/components/search_form.dart';
|
import 'package:nekoya_flutter/components/search_form.dart';
|
||||||
|
import 'package:nekoya_flutter/screens/about_us.dart';
|
||||||
import 'package:nekoya_flutter/screens/faq.dart';
|
import 'package:nekoya_flutter/screens/faq.dart';
|
||||||
import 'package:nekoya_flutter/utils/utils.dart';
|
import 'package:nekoya_flutter/utils/utils.dart';
|
||||||
|
|
||||||
|
@ -21,14 +22,21 @@ class Home extends StatelessWidget {
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
backgroundColor: const Color(0xff212226),
|
backgroundColor: const Color(0xff212226),
|
||||||
automaticallyImplyLeading: false,
|
automaticallyImplyLeading: false,
|
||||||
actions: [
|
leading: IconButton(
|
||||||
IconButton(
|
|
||||||
icon: const Icon(Icons.question_mark),
|
icon: const Icon(Icons.question_mark),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(context,
|
Navigator.push(
|
||||||
MaterialPageRoute(builder: (context) => const FAQ()));
|
context, MaterialPageRoute(builder: (context) => const FAQ()));
|
||||||
},
|
},
|
||||||
)
|
),
|
||||||
|
actions: [
|
||||||
|
IconButton(
|
||||||
|
icon: const Icon(Icons.tips_and_updates),
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.push(context,
|
||||||
|
MaterialPageRoute(builder: (context) => const AboutUs()));
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
body: SafeArea(
|
body: SafeArea(
|
||||||
|
|
Loading…
Reference in a new issue