Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
0ea56a1f
Commit
0ea56a1f
authored
Sep 16, 2022
by
Tohap Maruli Pasaribu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/qorridi/medapp_eksad
parents
c54b2782
d7dd6547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
39 deletions
+44
-39
register_pic.dart
lib/register_pic.dart
+44
-39
No files found.
lib/register_pic.dart
View file @
0ea56a1f
...
@@ -164,15 +164,16 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -164,15 +164,16 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
const
SizedBox
(
width:
30
,
width:
30
,
),
),
Column
(
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
children:
[
// ===============
telepon rs
==========
// ===============
nama pic===
==========
Row
(
Row
(
children:
[
children:
[
Icon
(
Icon
(
Icons
.
phone_android
,
Icons
.
drive_file_rename_outline
,
color:
Colors
.
grey
[
500
],
color:
Colors
.
grey
[
500
],
size:
screenize
.
width
*
0.01
,
size:
screenize
.
width
*
0.01
,
),
),
...
@@ -180,7 +181,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -180,7 +181,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
width:
10
,
),
),
const
Text
(
const
Text
(
"N
o Telepon Rumah Sakit
"
,
"N
ama PIC
"
,
style:
TextStyle
(
fontSize:
13
),
style:
TextStyle
(
fontSize:
13
),
),
),
],
],
...
@@ -194,28 +195,26 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -194,28 +195,26 @@ class _RegisterPicState extends State<RegisterPic> {
height:
60
,
height:
60
,
width:
screenize
.
width
*
0.2
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
child:
TextFormField
(
controller:
phoneRS
Controller
,
controller:
namePIC
Controller
,
textAlign:
TextAlign
.
start
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Nomor Telepon Rumah Sakit tidak boleh kosong"
;
}
return
null
;
},
decoration:
InputDecoration
(
decoration:
InputDecoration
(
labelText:
labelText:
"Nama PIC"
,
"Nomor Telepon Rumah Sakit"
,
labelStyle:
TextStyle
(
fontSize:
13
),
labelStyle:
TextStyle
(
fontSize:
13
),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
border:
OutlineInputBorder
(
borderRadius:
borderRadius:
BorderRadius
.
circular
(
5.0
),
BorderRadius
.
circular
(
5.0
),
)),
)),
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Nama PIC tidak boleh kosong"
;
}
return
null
;
},
),
),
)
)
],
],
),
),
// ===============akhir
telepon rs
==========
// ===============akhir
nama pic===
==========
],
],
),
),
],
],
...
@@ -279,15 +278,16 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -279,15 +278,16 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
const
SizedBox
(
width:
30
,
width:
30
,
),
),
Column
(
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
children:
[
// ===============
nama pic===
==========
// ===============
email pic
==========
Row
(
Row
(
children:
[
children:
[
Icon
(
Icon
(
Icons
.
drive_file_rename_outline
,
Icons
.
email_outlined
,
color:
Colors
.
grey
[
500
],
color:
Colors
.
grey
[
500
],
size:
screenize
.
width
*
0.01
,
size:
screenize
.
width
*
0.01
,
),
),
...
@@ -295,7 +295,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -295,7 +295,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
width:
10
,
),
),
const
Text
(
const
Text
(
"
Nama
PIC"
,
"
Email
PIC"
,
style:
TextStyle
(
fontSize:
13
),
style:
TextStyle
(
fontSize:
13
),
),
),
],
],
...
@@ -309,26 +309,27 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -309,26 +309,27 @@ class _RegisterPicState extends State<RegisterPic> {
height:
60
,
height:
60
,
width:
screenize
.
width
*
0.2
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
child:
TextFormField
(
controller:
name
PICController
,
controller:
email
PICController
,
textAlign:
TextAlign
.
start
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Email PIC tidak boleh kosong"
;
}
return
null
;
},
decoration:
InputDecoration
(
decoration:
InputDecoration
(
labelText:
"
Nama
PIC"
,
labelText:
"
Email
PIC"
,
labelStyle:
TextStyle
(
fontSize:
13
),
labelStyle:
TextStyle
(
fontSize:
13
),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
border:
OutlineInputBorder
(
borderRadius:
borderRadius:
BorderRadius
.
circular
(
5.0
),
BorderRadius
.
circular
(
5.0
),
)),
)),
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Nama PIC tidak boleh kosong"
;
}
return
null
;
},
),
),
)
)
],
],
),
),
// ===============akhir
nama pic===
==========
// ===============akhir
email pic
==========
],
],
),
),
],
],
...
@@ -339,7 +340,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -339,7 +340,7 @@ class _RegisterPicState extends State<RegisterPic> {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
children:
[
// ===============telepon
pic
==========
// ===============telepon
rs
==========
Row
(
Row
(
children:
[
children:
[
Icon
(
Icon
(
...
@@ -351,7 +352,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -351,7 +352,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
width:
10
,
),
),
const
Text
(
const
Text
(
"No Telepon
PIC
"
,
"No Telepon
Rumah Sakit
"
,
style:
TextStyle
(
fontSize:
13
),
style:
TextStyle
(
fontSize:
13
),
),
),
],
],
...
@@ -365,16 +366,17 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -365,16 +366,17 @@ class _RegisterPicState extends State<RegisterPic> {
height:
60
,
height:
60
,
width:
screenize
.
width
*
0.2
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
child:
TextFormField
(
controller:
phone
PIC
Controller
,
controller:
phone
RS
Controller
,
textAlign:
TextAlign
.
start
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Nomor Telepon
PIC
tidak boleh kosong"
;
return
"Nomor Telepon
Rumah Sakit
tidak boleh kosong"
;
}
}
return
null
;
return
null
;
},
},
decoration:
InputDecoration
(
decoration:
InputDecoration
(
labelText:
"Nomor Telepon PIC"
,
labelText:
"Nomor Telepon Rumah Sakit"
,
labelStyle:
TextStyle
(
fontSize:
13
),
labelStyle:
TextStyle
(
fontSize:
13
),
hintStyle:
const
TextStyle
(),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
border:
OutlineInputBorder
(
...
@@ -385,21 +387,24 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -385,21 +387,24 @@ class _RegisterPicState extends State<RegisterPic> {
)
)
],
],
),
),
// ===============akhir telepon
pic
==========
// ===============akhir telepon
rs
==========
],
],
),
),
const
SizedBox
(
const
SizedBox
(
width:
30
,
width:
30
,
),
),
Column
(
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
children:
[
// ===============
email
pic==========
// ===============
telepon
pic==========
Row
(
Row
(
children:
[
children:
[
Icon
(
Icon
(
Icons
.
email_outline
d
,
Icons
.
phone_androi
d
,
color:
Colors
.
grey
[
500
],
color:
Colors
.
grey
[
500
],
size:
screenize
.
width
*
0.01
,
size:
screenize
.
width
*
0.01
,
),
),
...
@@ -407,7 +412,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -407,7 +412,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
width:
10
,
),
),
const
Text
(
const
Text
(
"
Email
PIC"
,
"
No Telepon
PIC"
,
style:
TextStyle
(
fontSize:
13
),
style:
TextStyle
(
fontSize:
13
),
),
),
],
],
...
@@ -421,16 +426,16 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -421,16 +426,16 @@ class _RegisterPicState extends State<RegisterPic> {
height:
60
,
height:
60
,
width:
screenize
.
width
*
0.2
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
child:
TextFormField
(
controller:
email
PICController
,
controller:
phone
PICController
,
textAlign:
TextAlign
.
start
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"
Email
PIC tidak boleh kosong"
;
return
"
Nomor Telepon
PIC tidak boleh kosong"
;
}
}
return
null
;
return
null
;
},
},
decoration:
InputDecoration
(
decoration:
InputDecoration
(
labelText:
"
Email
PIC"
,
labelText:
"
Nomor Telepon
PIC"
,
labelStyle:
TextStyle
(
fontSize:
13
),
labelStyle:
TextStyle
(
fontSize:
13
),
hintStyle:
const
TextStyle
(),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
border:
OutlineInputBorder
(
...
@@ -441,7 +446,7 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -441,7 +446,7 @@ class _RegisterPicState extends State<RegisterPic> {
)
)
],
],
),
),
// ===============akhir
email
pic==========
// ===============akhir
telepon
pic==========
],
],
),
),
],
],
...
...
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