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
0e43368c
Commit
0e43368c
authored
Oct 30, 2020
by
Dasun Madushanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update components - clr dots
parent
5206a3e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
MainAppDMT/lib/screens/details/compenents/color_dots.dart
MainAppDMT/lib/screens/details/compenents/color_dots.dart
+38
-0
No files found.
MainAppDMT/lib/screens/details/compenents/color_dots.dart
0 → 100644
View file @
0e43368c
import
'package:flutter/material.dart'
;
import
'../../../constants.dart'
;
class
ColorDot
extends
StatelessWidget
{
const
ColorDot
({
Key
key
,
this
.
fillColor
,
// by default we set it false
this
.
isSelected
=
false
,
})
:
super
(
key:
key
);
final
Color
fillColor
;
final
bool
isSelected
;
@override
Widget
build
(
BuildContext
context
)
{
return
Container
(
margin:
// left and right padding 8
EdgeInsets
.
symmetric
(
horizontal:
kDefaultPadding
/
2.5
),
padding:
EdgeInsets
.
all
(
3
),
height:
24
,
width:
24
,
decoration:
BoxDecoration
(
shape:
BoxShape
.
circle
,
border:
Border
.
all
(
color:
isSelected
?
Color
(
0xFF80989A
)
:
Colors
.
transparent
,
),
),
child:
Container
(
decoration:
BoxDecoration
(
shape:
BoxShape
.
circle
,
color:
fillColor
,
),
),
);
}
}
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