Commit d4faf32e authored by rizky ramadhan's avatar rizky ramadhan

test

parent ad68ee64
...@@ -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==========
], ],
), ),
......
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