Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CHILD INTELLIGENT ASSESSMENT TOOL
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
2020-046
CHILD INTELLIGENT ASSESSMENT TOOL
Commits
d6dfc560
Commit
d6dfc560
authored
Oct 30, 2020
by
Dasun Madushanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update screen details- add more information about DMT
parent
c207515f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
MainAppDMT/lib/screens/details/details_screen.dart
MainAppDMT/lib/screens/details/details_screen.dart
+47
-0
No files found.
MainAppDMT/lib/screens/details/details_screen.dart
0 → 100644
View file @
d6dfc560
import
'package:DMTI_app/models/product.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_svg/svg.dart'
;
import
'../../constants.dart'
;
import
'components/body.dart'
;
class
DetailsScreen
extends
StatelessWidget
{
final
Product
product
;
const
DetailsScreen
({
Key
key
,
this
.
product
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
backgroundColor:
kPrimaryColor
,
appBar:
buildAppBar
(
context
),
body:
Body
(
product:
product
,
),
);
}
AppBar
buildAppBar
(
BuildContext
context
)
{
return
AppBar
(
backgroundColor:
kBackgroundColor
,
elevation:
0
,
leading:
IconButton
(
padding:
EdgeInsets
.
only
(
left:
kDefaultPadding
),
icon:
SvgPicture
.
asset
(
"assets/icons/back.svg"
),
onPressed:
()
{
Navigator
.
pop
(
context
);
},
),
centerTitle:
false
,
title:
Text
(
'Back'
.
toUpperCase
(),
style:
Theme
.
of
(
context
).
textTheme
.
bodyText2
,
),
actions:
<
Widget
>[
IconButton
(
icon:
SvgPicture
.
asset
(
'assets/icons/notification.svg'
),
onPressed:
()
{},
),
],
);
}
}
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