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
3746c58a
Commit
3746c58a
authored
Nov 03, 2020
by
Dasun Madushanka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update search_box.dart
parent
6560e26b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lib/components/search_box.dart
lib/components/search_box.dart
+8
-6
No files found.
lib/components/search_box.dart
View file @
3746c58a
...
...
@@ -3,6 +3,8 @@ import 'package:flutter_svg/flutter_svg.dart';
import
'../constants.dart'
;
//seacrh box view
class
SearchBox
extends
StatelessWidget
{
const
SearchBox
({
Key
key
,
...
...
@@ -20,18 +22,18 @@ class SearchBox extends StatelessWidget {
vertical:
kDefaultPadding
/
4
,
// 5 top and bottom
),
decoration:
BoxDecoration
(
color:
Colors
.
white
.
withOpacity
(
0.4
),
borderRadius:
BorderRadius
.
circular
(
12
),
color:
Colors
.
white
.
withOpacity
(
0.4
),
//opacity 0.4
borderRadius:
BorderRadius
.
circular
(
12
),
//circuler border
),
child:
TextField
(
onChanged:
onChanged
,
style:
TextStyle
(
color:
Colors
.
white
),
style:
TextStyle
(
color:
Colors
.
white
),
//text format in box
decoration:
InputDecoration
(
enabledBorder:
InputBorder
.
none
,
focusedBorder:
InputBorder
.
none
,
icon:
SvgPicture
.
asset
(
"assets/icons/search.svg"
),
hintText:
'Search'
,
hintStyle:
TextStyle
(
color:
Colors
.
white
),
icon:
SvgPicture
.
asset
(
"assets/icons/search.svg"
),
//include from assessts folder
hintText:
'Search'
,
//hint
hintStyle:
TextStyle
(
color:
Colors
.
white
),
//hint format
),
),
);
...
...
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