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

register overflow

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