Commit 0ea56a1f authored by Tohap Maruli Pasaribu's avatar Tohap Maruli Pasaribu
parents c54b2782 d7dd6547
......@@ -164,15 +164,16 @@ class _RegisterPicState extends State<RegisterPic> {
const SizedBox(
width: 30,
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
// ===============telepon rs==========
// ===============nama pic=============
Row(
children: [
Icon(
Icons.phone_android,
Icons.drive_file_rename_outline,
color: Colors.grey[500],
size: screenize.width * 0.01,
),
......@@ -180,7 +181,7 @@ class _RegisterPicState extends State<RegisterPic> {
width: 10,
),
const Text(
"No Telepon Rumah Sakit",
"Nama PIC",
style: TextStyle(fontSize: 13),
),
],
......@@ -194,28 +195,26 @@ class _RegisterPicState extends State<RegisterPic> {
height: 60,
width: screenize.width * 0.2,
child: TextFormField(
controller: phoneRSController,
controller: namePICController,
textAlign: TextAlign.start,
validator: (value) {
if (value == null || value.isEmpty) {
return "Nomor Telepon Rumah Sakit tidak boleh kosong";
}
return null;
},
decoration: InputDecoration(
labelText:
"Nomor Telepon Rumah Sakit",
labelText: "Nama PIC",
labelStyle: TextStyle(fontSize: 13),
hintStyle: const TextStyle(),
border: OutlineInputBorder(
borderRadius:
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> {
const SizedBox(
width: 30,
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
// ===============nama pic=============
// ===============email pic==========
Row(
children: [
Icon(
Icons.drive_file_rename_outline,
Icons.email_outlined,
color: Colors.grey[500],
size: screenize.width * 0.01,
),
......@@ -295,7 +295,7 @@ class _RegisterPicState extends State<RegisterPic> {
width: 10,
),
const Text(
"Nama PIC",
"Email PIC",
style: TextStyle(fontSize: 13),
),
],
......@@ -309,26 +309,27 @@ class _RegisterPicState extends State<RegisterPic> {
height: 60,
width: screenize.width * 0.2,
child: TextFormField(
controller: namePICController,
controller: emailPICController,
textAlign: TextAlign.start,
validator: (value) {
if (value == null || value.isEmpty) {
return "Email PIC tidak boleh kosong";
}
return null;
},
decoration: InputDecoration(
labelText: "Nama PIC",
labelText: "Email PIC",
labelStyle: TextStyle(fontSize: 13),
hintStyle: const TextStyle(),
border: OutlineInputBorder(
borderRadius:
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> {
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
// ===============telepon pic==========
// ===============telepon rs==========
Row(
children: [
Icon(
......@@ -351,7 +352,7 @@ class _RegisterPicState extends State<RegisterPic> {
width: 10,
),
const Text(
"No Telepon PIC",
"No Telepon Rumah Sakit",
style: TextStyle(fontSize: 13),
),
],
......@@ -365,16 +366,17 @@ class _RegisterPicState extends State<RegisterPic> {
height: 60,
width: screenize.width * 0.2,
child: TextFormField(
controller: phonePICController,
controller: phoneRSController,
textAlign: TextAlign.start,
validator: (value) {
if (value == null || value.isEmpty) {
return "Nomor Telepon PIC tidak boleh kosong";
return "Nomor Telepon Rumah Sakit tidak boleh kosong";
}
return null;
},
decoration: InputDecoration(
labelText: "Nomor Telepon PIC",
labelText:
"Nomor Telepon Rumah Sakit",
labelStyle: TextStyle(fontSize: 13),
hintStyle: const TextStyle(),
border: OutlineInputBorder(
......@@ -385,21 +387,24 @@ class _RegisterPicState extends State<RegisterPic> {
)
],
),
// ===============akhir telepon pic==========
// ===============akhir telepon rs==========
],
),
const SizedBox(
width: 30,
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
// ===============email pic==========
// ===============telepon pic==========
Row(
children: [
Icon(
Icons.email_outlined,
Icons.phone_android,
color: Colors.grey[500],
size: screenize.width * 0.01,
),
......@@ -407,7 +412,7 @@ class _RegisterPicState extends State<RegisterPic> {
width: 10,
),
const Text(
"Email PIC",
"No Telepon PIC",
style: TextStyle(fontSize: 13),
),
],
......@@ -421,16 +426,16 @@ class _RegisterPicState extends State<RegisterPic> {
height: 60,
width: screenize.width * 0.2,
child: TextFormField(
controller: emailPICController,
controller: phonePICController,
textAlign: TextAlign.start,
validator: (value) {
if (value == null || value.isEmpty) {
return "Email PIC tidak boleh kosong";
return "Nomor Telepon PIC tidak boleh kosong";
}
return null;
},
decoration: InputDecoration(
labelText: "Email PIC",
labelText: "Nomor Telepon PIC",
labelStyle: TextStyle(fontSize: 13),
hintStyle: const TextStyle(),
border: OutlineInputBorder(
......@@ -441,7 +446,7 @@ class _RegisterPicState extends State<RegisterPic> {
)
],
),
// ===============akhir email pic==========
// ===============akhir telepon pic==========
],
),
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment