Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2023-156
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-156
2023-156
Commits
b3a515c7
Commit
b3a515c7
authored
May 23, 2023
by
Ravishan S.A.A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated home page
parent
ab00e28c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
lib/welcome/WelcomePage.dart
lib/welcome/WelcomePage.dart
+25
-2
No files found.
lib/welcome/WelcomePage.dart
View file @
b3a515c7
import
'package:client/disease/DiseasePrediction.dart'
;
import
'package:client/forecast/Forecast.dart'
;
import
'package:client/grades/GradesPrediction.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/src/widgets/framework.dart'
;
import
'package:flutter/src/widgets/placeholder.dart'
;
...
...
@@ -13,7 +16,23 @@ class WelcomePage extends StatelessWidget {
var
height
=
MediaQuery
.
of
(
context
).
size
.
height
;
return
Scaffold
(
body:
Container
(
padding:
EdgeInsets
.
symmetric
(
horizontal:
20
,
vertical:
30
,
),
width:
width
,
height:
height
,
decoration:
BoxDecoration
(
color:
Colors
.
black
,
image:
DecorationImage
(
image:
NetworkImage
(
"https://images.unsplash.com/photo-1550807014-1236e91b92d4?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=980&q=80"
,
),
opacity:
0.4
,
fit:
BoxFit
.
cover
,
),
),
child:
Column
(
children:
[
Text
(
"Welcome"
,
...
...
@@ -39,6 +58,7 @@ class WelcomePage extends StatelessWidget {
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
//price_prediction
ModuleCard
(
bgColor:
Colors
.
indigo
.
shade900
,
title:
Text
(
...
...
@@ -59,6 +79,7 @@ class WelcomePage extends StatelessWidget {
);
},
),
//ai_based_ommunity
ModuleCard
(
bgColor:
Colors
.
white
,
title:
Text
(
...
...
@@ -81,6 +102,7 @@ class WelcomePage extends StatelessWidget {
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
//cinnamon_grading
ModuleCard
(
bgColor:
Colors
.
lime
,
title:
Text
(
...
...
@@ -102,6 +124,7 @@ class WelcomePage extends StatelessWidget {
);
},
),
//rbd_disease_identification
ModuleCard
(
bgColor:
Colors
.
red
,
title:
Text
(
...
...
@@ -127,7 +150,7 @@ class WelcomePage extends StatelessWidget {
),
],
),
),
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment