@@ -4,6 +4,7 @@ import 'package:passkeep/gloab.dart';
44import 'package:passkeep/lowlevel/file.dart' ;
55import 'package:passkeep/passViewer.dart' ;
66import 'package:passkeep/widgets.dart' ;
7+ import 'package:passkeep/entry.dart' ;
78
89class ViewerInit extends StatelessWidget {
910 @override
@@ -26,6 +27,74 @@ class Viewer extends StatelessWidget {
2627 @override
2728 Widget build (BuildContext context) {
2829 return Scaffold (
30+ drawer: Drawer (
31+ child: ListView (
32+ padding: EdgeInsets .zero,
33+ children: [
34+ const UserAccountsDrawerHeader (
35+ currentAccountPicture: CircleAvatar (
36+ backgroundImage: AssetImage ("images/icon.png" ),
37+ backgroundColor: Colors .white,
38+ //backgroundImage: Image(image: AssetImage('images/logo.jpg', width: 100.0, height: 100.0)),
39+ ),
40+ accountEmail: Text (
41+ "https://sachan1.netlify.app/" ,
42+ style: TextStyle (color: Colors .blue),
43+ ),
44+ accountName: Text ('Akshat Sachan' ,
45+ style: TextStyle (fontSize: 24.0 , color: Colors .teal)),
46+ decoration: BoxDecoration (
47+ color: Colors .black87,
48+ ),
49+ ),
50+ ListTile (
51+ // leading: const Icon(Icons.house),
52+ title: const Text (
53+ 'THANKS FOR USING !!' ,
54+ style: TextStyle (fontSize: 24.0 , color: Colors .blue),
55+ ),
56+ onTap: () {
57+ Navigator .pushReplacement (
58+ context,
59+ MaterialPageRoute <void >(
60+ builder: (BuildContext context) => Entry (
61+ //text: 'Houses',
62+ ),
63+ ),
64+ );
65+ },
66+ ),
67+ ListTile (
68+ // leading: const Icon(Icons.apartment),
69+ title: const Text (
70+ '\n\n MADE BY : Akshat Sachan\n\n ' ,
71+ style: TextStyle (fontSize: 18.0 ),
72+ ),
73+
74+ onTap: () {
75+ Navigator .pushReplacement (
76+ context,
77+ MaterialPageRoute <void >(
78+ builder: (BuildContext context) => Entry (),
79+ // title: 'Apartments',
80+ ),
81+ // ),
82+ );
83+ },
84+ ),
85+ CircleAvatar (
86+ backgroundColor: Colors .white,
87+ child: Image .asset (
88+ 'images/logo.jpg' ,
89+ width: 800.0 ,
90+ height: 800.0 ,
91+ ),
92+ //backgroundImage: Image(image: AssetImage('images/logo.jpg', width: 100.0, height: 100.0)),
93+ ),
94+ ],
95+ ),
96+ ),
97+ // appBar: _appBar(),
2998 backgroundColor: back,
3099 floatingActionButton: FloatingActionButton (
31100 child: Icon (Icons .add),
0 commit comments