Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team 37
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Om Akbari (nzc174)
Team 37
Commits
b9e7bb3d
Commit
b9e7bb3d
authored
3 years ago
by
Aayush
Browse files
Options
Downloads
Patches
Plain Diff
Homescreen Drawer
parent
67540bee
No related branches found
No related tags found
1 merge request
!3
Main product
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/screens/home_screens/home_screen.dart
+104
-1
104 additions, 1 deletion
lib/screens/home_screens/home_screen.dart
with
104 additions
and
1 deletion
lib/screens/home_screens/home_screen.dart
+
104
−
1
View file @
b9e7bb3d
...
@@ -114,11 +114,114 @@ class HomeScreen extends StatelessWidget {
...
@@ -114,11 +114,114 @@ class HomeScreen extends StatelessWidget {
);
);
}
}
Widget
listTile
({
IconData
icon
,
String
title
})
{
return
ListTile
(
leading:
Icon
(
icon
,
size:
32
,
),
title:
Text
(
title
,
style:
TextStyle
(
color:
Colors
.
black45
),
),
);
}
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
backgroundColor:
Color
(
0xffcbcbcb
),
backgroundColor:
Color
(
0xffcbcbcb
),
drawer:
Drawer
(),
drawer:
Drawer
(
child:
Container
(
color:
Color
(
0xffd1ad17
),
child:
ListView
(
children:
[
DrawerHeader
(
child:
Row
(
children:
[
CircleAvatar
(
backgroundColor:
Colors
.
white54
,
radius:
43
,
child:
CircleAvatar
(
radius:
40
,
backgroundColor:
Colors
.
red
,
),
),
SizedBox
(
width:
20
,
),
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
Text
(
"Welcome Guest"
),
SizedBox
(
height:
7
,
),
Container
(
height:
30
,
child:
OutlineButton
(
onPressed:
()
{},
child:
Text
(
"Login"
),
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
15
),
side:
BorderSide
(
width:
2
,
),
),
),
),
],
)
],
),
),
listTile
(
icon:
Icons
.
home_outlined
,
title:
"Home"
),
listTile
(
icon:
Icons
.
shop_outlined
,
title:
"Review Cart"
),
listTile
(
icon:
Icons
.
person_outline
,
title:
"My Profile"
),
listTile
(
icon:
Icons
.
notifications_outlined
,
title:
"Notification"
),
listTile
(
icon:
Icons
.
star_outline
,
title:
"Rating & Review"
),
listTile
(
icon:
Icons
.
favorite_outline
,
title:
"Wishlist"
),
listTile
(
icon:
Icons
.
copy_outlined
,
title:
"Complaints"
),
listTile
(
icon:
Icons
.
format_quote_outlined
,
title:
"FAQs"
),
Container
(
height:
350
,
padding:
EdgeInsets
.
symmetric
(
horizontal:
20
),
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Text
(
"Contact Support"
),
SizedBox
(
height:
10
,
),
Row
(
children:
[
Text
(
"Call us:"
),
SizedBox
(
width:
10
,
),
Text
(
"+1(306)638-250"
)
],
),
SizedBox
(
height:
5
,
),
SingleChildScrollView
(
scrollDirection:
Axis
.
horizontal
,
child:
Row
(
children:
[
Text
(
"Mail us:"
),
SizedBox
(
width:
10
,
),
Text
(
"abc@contoso.com"
)
],
),
),
],
))
],
),
)),
appBar:
AppBar
(
appBar:
AppBar
(
iconTheme:
IconThemeData
(
color:
Colors
.
black
),
iconTheme:
IconThemeData
(
color:
Colors
.
black
),
title:
Text
(
title:
Text
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment