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
5b1c6945
Commit
5b1c6945
authored
3 years ago
by
Om Akbari
Browse files
Options
Downloads
Patches
Plain Diff
Display changes
parent
d13a164d
No related branches found
No related tags found
1 merge request
!3
Main product
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/config/colors.dart
+2
-2
2 additions, 2 deletions
lib/config/colors.dart
lib/screens/home_screens/drawer_side.dart
+1
-1
1 addition, 1 deletion
lib/screens/home_screens/drawer_side.dart
lib/screens/home_screens/home_screen.dart
+10
-9
10 additions, 9 deletions
lib/screens/home_screens/home_screen.dart
with
13 additions
and
12 deletions
lib/config/colors.dart
+
2
−
2
View file @
5b1c6945
import
'package:flutter/material.dart'
;
Color
primaryColor
=
Color
(
0xff
d1ad17
);
Color
scaffoldBackgroundColor
=
Color
(
0xff
cbcbcb
);
Color
primaryColor
=
Color
(
0xff
ecbb5c
);
Color
scaffoldBackgroundColor
=
Color
(
0xff
d4cab1
);
Color
textColor
=
Colors
.
black87
;
This diff is collapsed.
Click to expand it.
lib/screens/home_screens/drawer_side.dart
+
1
−
1
View file @
5b1c6945
...
...
@@ -24,7 +24,7 @@ class DrawerSide extends StatelessWidget {
return
Drawer
(
child:
Container
(
width:
100
,
color:
Color
(
0xff
2196f3
),
color:
Color
(
0xff
ecbb5c
),
child:
ListView
(
children:
[
DrawerHeader
(
...
...
This diff is collapsed.
Click to expand it.
lib/screens/home_screens/home_screen.dart
+
10
−
9
View file @
5b1c6945
...
...
@@ -28,14 +28,14 @@ class _HomeScreenState extends State<HomeScreen> {
children:
[
Text
(
'Herbs Seasonings'
),
GestureDetector
(
onTap:
(){
onTap:
()
{
Navigator
.
of
(
context
)
.
push
(
MaterialPageRoute
(
builder:
(
context
)
=
>
Search
(
search:
productProvider
.
getHerbsProductDataList
,
),
),
);
),
);
},
child:
Text
(
'view all'
,
...
...
@@ -88,14 +88,14 @@ class _HomeScreenState extends State<HomeScreen> {
children:
[
Text
(
'Fresh Fruits'
),
GestureDetector
(
onTap:
(){
onTap:
()
{
Navigator
.
of
(
context
)
.
push
(
MaterialPageRoute
(
builder:
(
context
)
=
>
Search
(
search:
productProvider
.
getFreshProductDataList
,
),
),
);
),
);
},
child:
Text
(
'view all'
,
...
...
@@ -145,14 +145,14 @@ class _HomeScreenState extends State<HomeScreen> {
children:
[
Text
(
'Root Vegetable'
),
GestureDetector
(
onTap:
(){
onTap:
()
{
Navigator
.
of
(
context
)
.
push
(
MaterialPageRoute
(
builder:
(
context
)
=
>
Search
(
search:
productProvider
.
getRootProductDataList
,
),
),
);
),
);
},
child:
Text
(
'view all'
,
...
...
@@ -207,6 +207,7 @@ class _HomeScreenState extends State<HomeScreen> {
return
Scaffold
(
drawer:
DrawerSide
(),
appBar:
AppBar
(
backgroundColor:
Color
(
0xffecbb5c
),
iconTheme:
IconThemeData
(
color:
textColor
),
title:
Text
(
'Home'
,
...
...
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