Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-126
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
1
Merge Requests
1
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
2022-126
2022-126
Commits
4540171a
Commit
4540171a
authored
Nov 07, 2022
by
Amarasinghe A.A.B.G.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some changes added
parent
f59d4044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
7 deletions
+47
-7
fieldofficer/lib/pages/pharmaceuticals/add_tempsensitive.dart
...dofficer/lib/pages/pharmaceuticals/add_tempsensitive.dart
+47
-7
No files found.
fieldofficer/lib/pages/pharmaceuticals/add_tempsensitive.dart
View file @
4540171a
...
...
@@ -11,6 +11,7 @@ class AddTempsensitive extends StatefulWidget {
class
_AddTempsensitive
extends
State
<
AddTempsensitive
>
{
String
value
=
""
;
String
value1
=
""
;
final
firstDate
=
DateTime
(
2021
,
1
);
final
lastDate
=
DateTime
(
2022
,
12
);
...
...
@@ -67,21 +68,21 @@ class _AddTempsensitive extends State<AddTempsensitive> {
Padding
(
padding:
EdgeInsets
.
all
(
5.0
),
child:
DropdownButton
<
String
>(
items:
[
items:
const
[
DropdownMenuItem
<
String
>(
value:
"
p
anadol"
,
value:
"
P
anadol"
,
child:
Center
(
child:
Text
(
"Panadol"
),
child:
Text
(
"Panadol"
),
),
),
DropdownMenuItem
<
String
>(
value:
"
i
nsulin"
,
value:
"
I
nsulin"
,
child:
Center
(
child:
Text
(
"Insulin"
),
),
),
DropdownMenuItem
<
String
>(
value:
"
pfizer
"
,
value:
"
Pfizer Vaccine
"
,
child:
Center
(
child:
Text
(
"Pfizer Vaccine"
),
),
...
...
@@ -94,8 +95,8 @@ class _AddTempsensitive extends State<AddTempsensitive> {
}),
},
hint:
Text
(
"Select Pharmaceutical"
,
style:
TextStyle
(
fontSize:
18
,
fontWeight:
FontWeight
.
bold
),
"Select Pharmaceutical
Name
"
,
style:
TextStyle
(
fontSize:
18
,
fontWeight:
FontWeight
.
bold
),
),
),
),
...
...
@@ -104,6 +105,45 @@ class _AddTempsensitive extends State<AddTempsensitive> {
)
],
)),
Container
(
child:
Column
(
children:
<
Widget
>[
Padding
(
padding:
EdgeInsets
.
all
(
5.0
),
child:
DropdownButton
<
String
>(
items:
[
DropdownMenuItem
<
String
>(
value:
"Yes"
,
child:
Center
(
child:
Text
(
"Yes"
),
),
),
DropdownMenuItem
<
String
>(
value:
"No"
,
child:
Center
(
child:
Text
(
"No"
),
),
),
],
onChanged:
(
_value
)
=>
{
print
(
_value
.
toString
()),
setState
(()
{
value1
=
_value
!;
}),
},
hint:
Text
(
"Is Temperature Sensitive?"
,
style:
TextStyle
(
fontSize:
18
,
fontWeight:
FontWeight
.
bold
),
),
),
),
Text
(
"
$value1
"
,
)
],
)),
const
SizedBox
(
height:
10
,
),
...
...
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