Commit d4faf32e authored by rizky ramadhan's avatar rizky ramadhan

test

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