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
ce938714
Commit
ce938714
authored
May 25, 2023
by
LordAshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grade
parent
3260b676
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
0 deletions
+105
-0
lib/grades/GradesPrediction.dart
lib/grades/GradesPrediction.dart
+105
-0
No files found.
lib/grades/GradesPrediction.dart
0 → 100644
View file @
ce938714
import
'package:flutter/material.dart'
;
import
'package:lottie/lottie.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
class
GradesPrediction
extends
StatefulWidget
{
const
GradesPrediction
({
super
.
key
});
@override
State
<
GradesPrediction
>
createState
()
=>
_GradesPredictionState
();
}
class
_GradesPredictionState
extends
State
<
GradesPrediction
>
{
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
backgroundColor:
Colors
.
grey
.
shade900
,
appBar:
AppBar
(
backgroundColor:
Colors
.
black
,
title:
Text
(
"Grading"
,
style:
GoogleFonts
.
roboto
(
color:
Colors
.
white
,
fontWeight:
FontWeight
.
bold
,
),
),
leading:
GestureDetector
(
onTap:
()
{
Navigator
.
of
(
context
).
pop
();
},
child:
Icon
(
Icons
.
arrow_back
,
color:
Colors
.
white
,
),
),
),
body:
Container
(
margin:
EdgeInsets
.
symmetric
(
horizontal:
MediaQuery
.
of
(
context
).
size
.
width
/
15
),
child:
Center
(
child:
SingleChildScrollView
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
[
Text
(
"Scan your product"
,
style:
GoogleFonts
.
roboto
(
fontSize:
MediaQuery
.
of
(
context
).
size
.
width
/
10
,
fontWeight:
FontWeight
.
w600
,
color:
Colors
.
white
,
),
textAlign:
TextAlign
.
center
,
),
Text
(
"Make sure to get a closeup look on the product"
,
style:
GoogleFonts
.
roboto
(
fontSize:
MediaQuery
.
of
(
context
).
size
.
width
/
20
,
fontWeight:
FontWeight
.
w400
,
color:
Colors
.
white70
,
),
textAlign:
TextAlign
.
center
,
),
SizedBox
(
height:
MediaQuery
.
of
(
context
).
size
.
height
/
10.5
,
),
GestureDetector
(
onTap:
()
{
// _getFromGallery();
},
child:
Container
(
width:
MediaQuery
.
of
(
context
).
size
.
width
,
child:
LottieBuilder
.
asset
(
"assets/lottie/scanner.json"
,
),
),
// child: DottedBorder(
// color: Colors.black,
// strokeWidth: 2,
// dashPattern: [6, 3, 2, 3],
// strokeCap: StrokeCap.round,
// borderType: BorderType.Circle,
// child: Container(
// width: MediaQuery.of(context).size.width,
// child: Stack(
// alignment: Alignment.center,
// children: [
// Lottie.asset(
// "assets/lottie/plant-moving.json",
// height: MediaQuery.of(context).size.height / 3.5,
// ),
// Lottie.asset(
// "assets/lottie/scanner.json",
// ),
// ],
// ),
// ),
// ),
)
],
),
),
),
),
);
}
}
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