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
c4de3eaf
Commit
c4de3eaf
authored
Nov 03, 2020
by
Dasun Madushanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update details_screen.dart
parent
b5fd3c9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MainAppDMT/lib/screens/details/details_screen.dart
MainAppDMT/lib/screens/details/details_screen.dart
+4
-4
No files found.
MainAppDMT/lib/screens/details/details_screen.dart
View file @
c4de3eaf
...
@@ -6,9 +6,9 @@ import '../../constants.dart';
...
@@ -6,9 +6,9 @@ import '../../constants.dart';
import
'components/body.dart'
;
import
'components/body.dart'
;
class
DetailsScreen
extends
StatelessWidget
{
class
DetailsScreen
extends
StatelessWidget
{
final
Product
product
;
final
Product
product
;
//procuct.dart
const
DetailsScreen
({
Key
key
,
this
.
product
})
:
super
(
key:
key
);
const
DetailsScreen
({
Key
key
,
this
.
product
})
:
super
(
key:
key
);
//constant
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
return
Scaffold
(
...
@@ -26,14 +26,14 @@ class DetailsScreen extends StatelessWidget {
...
@@ -26,14 +26,14 @@ class DetailsScreen extends StatelessWidget {
elevation:
0
,
elevation:
0
,
leading:
IconButton
(
leading:
IconButton
(
padding:
EdgeInsets
.
only
(
left:
kDefaultPadding
),
padding:
EdgeInsets
.
only
(
left:
kDefaultPadding
),
icon:
SvgPicture
.
asset
(
"assets/icons/back.svg"
),
icon:
SvgPicture
.
asset
(
"assets/icons/back.svg"
),
//add icon from assets
onPressed:
()
{
onPressed:
()
{
Navigator
.
pop
(
context
);
Navigator
.
pop
(
context
);
},
},
),
),
centerTitle:
false
,
centerTitle:
false
,
title:
Text
(
title:
Text
(
'Back'
.
toUpperCase
(),
'Back'
.
toUpperCase
(),
//back
style:
Theme
.
of
(
context
).
textTheme
.
bodyText2
,
style:
Theme
.
of
(
context
).
textTheme
.
bodyText2
,
),
),
actions:
<
Widget
>[
actions:
<
Widget
>[
...
...
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