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
2ee279d7
Commit
2ee279d7
authored
Oct 30, 2020
by
Dasun Madushanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update components
parent
f3c7fe56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
MainAppDMT/lib/screens/details/compenents/product_image.dart
MainAppDMT/lib/screens/details/compenents/product_image.dart
+43
-0
No files found.
MainAppDMT/lib/screens/details/compenents/product_image.dart
0 → 100644
View file @
2ee279d7
import
'package:flutter/material.dart'
;
import
'../../../constants.dart'
;
class
ProductPoster
extends
StatelessWidget
{
const
ProductPoster
({
Key
key
,
@required
this
.
size
,
this
.
image
,
})
:
super
(
key:
key
);
final
Size
size
;
final
String
image
;
@override
Widget
build
(
BuildContext
context
)
{
return
Container
(
margin:
EdgeInsets
.
symmetric
(
vertical:
kDefaultPadding
),
// the height of this container is 80% of our width
height:
size
.
width
*
0.8
,
child:
Stack
(
alignment:
Alignment
.
bottomCenter
,
children:
<
Widget
>[
Container
(
height:
size
.
width
*
0.7
,
width:
size
.
width
*
0.7
,
decoration:
BoxDecoration
(
color:
Colors
.
white
,
shape:
BoxShape
.
circle
,
),
),
Image
.
asset
(
image
,
height:
size
.
width
*
0.75
,
width:
size
.
width
*
0.75
,
fit:
BoxFit
.
cover
,
),
],
),
);
}
}
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