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
d4faf32e
Commit
d4faf32e
authored
Sep 13, 2022
by
rizky ramadhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
ad68ee64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
81 deletions
+81
-81
register_pic.dart
lib/register_pic.dart
+81
-81
No files found.
lib/register_pic.dart
View file @
d4faf32e
...
...
@@ -125,7 +125,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
),
const
Text
(
"Nama Rumah
Sakit
"
,
"Nama Rumah "
,
style:
TextStyle
(
fontSize:
13
),
),
],
...
...
@@ -453,68 +453,64 @@ class _RegisterPicState extends State<RegisterPic> {
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
// ===============password==========
Row
(
children:
[
Icon
(
Icons
.
vpn_key_off_sharp
,
color:
Colors
.
grey
[
500
],
size:
screenize
.
width
*
0.01
,
),
const
SizedBox
(
width:
10
,
),
const
Text
(
"Password"
,
style:
TextStyle
(
fontSize:
13
),
),
],
),
const
SizedBox
(
height:
5
,),
SizedBox
(
height:
60
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
controller:
passwordController
,
textAlign:
TextAlign
.
start
,
validator:
(
value
){
if
(
value
==
null
||
value
.
isEmpty
){
return
"Password tidak boleh kosong"
;
}
return
null
;
},
obscureText:
_isObscure
,
decoration:
InputDecoration
(
labelText:
"Password"
,
labelStyle:
TextStyle
(
fontSize:
13
),
suffixIcon:
IconButton
(
icon:
Icon
(
_isObscure
?
Icons
.
visibility
:
Icons
.
visibility_off
Row
(
children:
[
Icon
(
Icons
.
vpn_key_off_sharp
,
color:
Colors
.
grey
[
500
],
size:
screenize
.
width
*
0.01
,
),
const
SizedBox
(
width:
10
,
),
const
Text
(
"Password"
,
style:
TextStyle
(
fontSize:
13
),
),
],
),
onPressed:
(){
setState
(()
{
_isObscure
=
!
_isObscure
;
});
},
),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
circular
(
5.0
)
),
),
),
),
// ===============akhir password==========
const
SizedBox
(
height:
5
,
),
SizedBox
(
height:
60
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
controller:
passwordController
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Password tidak boleh kosong"
;
}
return
null
;
},
obscureText:
_isObscure
,
decoration:
InputDecoration
(
labelText:
"Password"
,
labelStyle:
TextStyle
(
fontSize:
13
),
suffixIcon:
IconButton
(
icon:
Icon
(
_isObscure
?
Icons
.
visibility
:
Icons
.
visibility_off
),
onPressed:
()
{
setState
(()
{
_isObscure
=
!
_isObscure
;
});
},
),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
circular
(
5.0
)),
),
),
),
// ===============akhir password==========
],
),
const
SizedBox
(
width:
30
,
),
],
),
Column
(
...
...
@@ -532,34 +528,38 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
width:
10
,
),
const
Text
(
"Latitude & Longitude PIC"
,
style:
TextStyle
(
fontSize:
13
),
const
Text
(
"Latitude & Longitude PIC"
,
style:
TextStyle
(
fontSize:
13
),
),
],
),
const
SizedBox
(
height:
5
,),
Container
(
height:
50
,
width:
screenize
.
width
*
0.42
,
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
),
borderRadius:
BorderRadius
.
circular
(
10
),
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
Text
(
''
),
Container
(
height:
51
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
10
),
child:
ElevatedButton
(
onPressed:
(){},
child:
Text
(
'Set'
))),
),
],
)
const
SizedBox
(
height:
5
,
),
Container
(
height:
50
,
width:
screenize
.
width
*
0.42
,
decoration:
BoxDecoration
(
border:
Border
.
all
(
color:
Colors
.
grey
),
borderRadius:
BorderRadius
.
circular
(
10
),
),
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
Text
(
''
),
Container
(
height:
51
,
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
10
),
child:
ElevatedButton
(
onPressed:
()
{},
child:
Text
(
'Set'
))),
),
],
)),
// ===============akhir password==========
],
),
...
...
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