Commit 87339cf1 authored by Budi Prasetyo's avatar Budi Prasetyo

register overflow

parent 51056ab5
...@@ -29,35 +29,41 @@ class _RegisterState extends State<Register> { ...@@ -29,35 +29,41 @@ class _RegisterState extends State<Register> {
width: screenize.width, width: screenize.width,
decoration: const BoxDecoration( decoration: const BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage("assets/images/register.jpg"), image: AssetImage("assets/images/bg-medapp.png"),
fit: BoxFit.fill, fit: BoxFit.fill,
) )
), ),
padding: EdgeInsets.only( padding: EdgeInsets.only(
left: screenize.width * 0.15, left: screenize.width * 0.13,
top: screenize.height * 0.13, top: screenize.height * 0.05,
bottom: screenize.height * 0.13 bottom: screenize.height * 0.05
), ),
child: Stack( child: Stack(
children: [ children: [
Container( Padding(
decoration: BoxDecoration( padding: EdgeInsets.symmetric(vertical: screenize.height*0.1),
color: const Color.fromARGB(255, 10, 116, 255), // child: Container(
borderRadius: BorderRadius.circular(20), // decoration: BoxDecoration(
), // color: const Color.fromARGB(255, 10, 116, 255),
width: screenize.width * 0.36, // borderRadius: BorderRadius.circular(20),
height: screenize.height * 0.9, // ),
// width: screenize.width * 0.36,
// height: screenize.height * 0.7,
// child: Image.asset(
// "assets/logo/logo-eksad.png",
// ),
// ),
child: Image.asset( child: Image.asset(
"assets/logo/logo-eksad.png", "assets/logo/logo-eksad.png",
), ),
), ),
Padding( Padding(
padding: EdgeInsets.only( padding: EdgeInsets.only(
left: screenize.width * 0.33, left: screenize.width * 0.35,
), ),
child: Container( child: Container(
width: screenize.width * 0.30, width: screenize.width * 0.30,
height: screenize.height * 0.9, height: screenize.height * 1,
alignment: Alignment.center, alignment: Alignment.center,
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
...@@ -85,15 +91,17 @@ class _RegisterState extends State<Register> { ...@@ -85,15 +91,17 @@ class _RegisterState extends State<Register> {
top: screenize.height * 0.01 top: screenize.height * 0.01
), ),
width: screenize.width * 0.36, width: screenize.width * 0.36,
height: screenize.height * 0.8, height: screenize.height * 1,
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Spacer(),
Container( Container(
padding: EdgeInsets.only( padding: EdgeInsets.only(
left: screenize.width * 0.055 left: screenize.width * 0.05
), ),
height: screenize.width * 0.02, height: screenize.width * 0.03,
child: Image.asset("assets/logo/medapp-logo.png"), child: Image.asset("assets/logo/medapp-logo.png"),
), ),
const SizedBox(height: 20,), const SizedBox(height: 20,),
...@@ -319,6 +327,7 @@ class _RegisterState extends State<Register> { ...@@ -319,6 +327,7 @@ class _RegisterState extends State<Register> {
width: screenize.width * 0.09, width: screenize.width * 0.09,
child: ElevatedButton( child: ElevatedButton(
onPressed: (){ onPressed: (){
Navigator.pushNamed(context, '/login');
}, },
child: const Text("LOGIN"), child: const Text("LOGIN"),
), ),
...@@ -364,7 +373,7 @@ class _RegisterState extends State<Register> { ...@@ -364,7 +373,7 @@ class _RegisterState extends State<Register> {
], ],
), ),
const Spacer( const Spacer(
flex: 7, flex: 4,
) )
], ],
), ),
......
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