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
Show 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> {
...
@@ -125,7 +125,7 @@ class _RegisterPicState extends State<RegisterPic> {
width:
10
,
width:
10
,
),
),
const
Text
(
const
Text
(
"Nama Rumah
Sakit
"
,
"Nama Rumah "
,
style:
TextStyle
(
fontSize:
13
),
style:
TextStyle
(
fontSize:
13
),
),
),
],
],
...
@@ -463,22 +463,23 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -463,22 +463,23 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
const
SizedBox
(
width:
10
,
width:
10
,
),
),
const
Text
(
"Password"
,
const
Text
(
style:
TextStyle
(
"Password"
,
fontSize:
13
style:
TextStyle
(
fontSize:
13
),
),
),
),
],
],
),
),
const
SizedBox
(
height:
5
,),
const
SizedBox
(
height:
5
,
),
SizedBox
(
SizedBox
(
height:
60
,
height:
60
,
width:
screenize
.
width
*
0.2
,
width:
screenize
.
width
*
0.2
,
child:
TextFormField
(
child:
TextFormField
(
controller:
passwordController
,
controller:
passwordController
,
textAlign:
TextAlign
.
start
,
textAlign:
TextAlign
.
start
,
validator:
(
value
)
{
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
"Password tidak boleh kosong"
;
return
"Password tidak boleh kosong"
;
}
}
return
null
;
return
null
;
...
@@ -486,15 +487,12 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -486,15 +487,12 @@ class _RegisterPicState extends State<RegisterPic> {
obscureText:
_isObscure
,
obscureText:
_isObscure
,
decoration:
InputDecoration
(
decoration:
InputDecoration
(
labelText:
"Password"
,
labelText:
"Password"
,
labelStyle:
TextStyle
(
labelStyle:
TextStyle
(
fontSize:
13
),
fontSize:
13
),
suffixIcon:
IconButton
(
suffixIcon:
IconButton
(
icon:
Icon
(
_isObscure
icon:
Icon
(
_isObscure
?
Icons
.
visibility
?
Icons
.
visibility
:
Icons
.
visibility_off
:
Icons
.
visibility_off
),
),
onPressed:
()
{
onPressed:
(){
setState
(()
{
setState
(()
{
_isObscure
=
!
_isObscure
;
_isObscure
=
!
_isObscure
;
});
});
...
@@ -502,8 +500,8 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -502,8 +500,8 @@ class _RegisterPicState extends State<RegisterPic> {
),
),
hintStyle:
const
TextStyle
(),
hintStyle:
const
TextStyle
(),
border:
OutlineInputBorder
(
border:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
circular
(
5.0
)
borderRadius:
),
BorderRadius
.
circular
(
5.0
)
),
),
),
),
),
),
),
...
@@ -513,8 +511,6 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -513,8 +511,6 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
const
SizedBox
(
width:
30
,
width:
30
,
),
),
],
],
),
),
Column
(
Column
(
...
@@ -532,14 +528,15 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -532,14 +528,15 @@ class _RegisterPicState extends State<RegisterPic> {
const
SizedBox
(
const
SizedBox
(
width:
10
,
width:
10
,
),
),
const
Text
(
"Latitude & Longitude PIC"
,
const
Text
(
style:
TextStyle
(
"Latitude & Longitude PIC"
,
fontSize:
13
style:
TextStyle
(
fontSize:
13
),
),
),
),
],
],
),
),
const
SizedBox
(
height:
5
,),
const
SizedBox
(
height:
5
,
),
Container
(
Container
(
height:
50
,
height:
50
,
width:
screenize
.
width
*
0.42
,
width:
screenize
.
width
*
0.42
,
...
@@ -548,18 +545,21 @@ class _RegisterPicState extends State<RegisterPic> {
...
@@ -548,18 +545,21 @@ class _RegisterPicState extends State<RegisterPic> {
borderRadius:
BorderRadius
.
circular
(
10
),
borderRadius:
BorderRadius
.
circular
(
10
),
),
),
child:
Row
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
mainAxisAlignment:
MainAxisAlignment
.
spaceBetween
,
children:
[
children:
[
Text
(
''
),
Text
(
''
),
Container
(
Container
(
height:
51
,
height:
51
,
child:
ClipRRect
(
child:
ClipRRect
(
borderRadius:
BorderRadius
.
circular
(
10
),
borderRadius:
child:
ElevatedButton
(
onPressed:
(){},
child:
Text
(
'Set'
))),
BorderRadius
.
circular
(
10
),
child:
ElevatedButton
(
onPressed:
()
{},
child:
Text
(
'Set'
))),
),
),
],
],
)
)),
),
// ===============akhir password==========
// ===============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