Commit 8b8f452c authored by Budi Prasetyo's avatar Budi Prasetyo

home 4 resize v3

parent 4dcb6e79
import 'package:flutter/material.dart';
import 'package:medapp_eksad/widget/button_color.dart';
class Home4 extends StatelessWidget {
const Home4({Key? key}) : super(key: key);
......@@ -12,8 +11,8 @@ class Home4 extends StatelessWidget {
height: ScreenSize.height * 0.99,
color: Colors.white,
child: Container(
padding: EdgeInsets.all(20),
margin: EdgeInsets.fromLTRB(160, 90, 160, 90),
padding: const EdgeInsets.all(20),
margin: const EdgeInsets.fromLTRB(160, 90, 160, 90),
width: ScreenSize.width * 0.20,
height: ScreenSize.height * 0.90,
decoration: BoxDecoration(
......@@ -33,139 +32,137 @@ class Home4 extends StatelessWidget {
),
],
),
child: Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Container(
padding: EdgeInsets.all(9),
width: ScreenSize.width * 0.4,
height: ScreenSize.height * 0.85,
//color: Colors.blue[900],
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Container(
padding: const EdgeInsets.all(9),
width: ScreenSize.width * 0.4,
height: ScreenSize.height * 0.85,
//color: Colors.blue[900],
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Container(
height: ScreenSize.height*0.08,
width: ScreenSize.width,
child: Text("Media used by MedApp",
style: TextStyle(
color: Colors.white,
fontSize: 27,
fontWeight: FontWeight.bold,
),
textAlign: TextAlign.left,
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
SizedBox(
height: ScreenSize.height*0.08,
width: ScreenSize.width,
child: Text("Media used by MedApp",
style: TextStyle(
color: Colors.white,
fontSize: 27,
fontWeight: FontWeight.bold,
),
textAlign: TextAlign.left,
),
),
Container(
Container(
width: ScreenSize.width,
child: Text("Mobile Devices, TV Display, Kiosk, & Web Admin System",
style: TextStyle(
color: Colors.white,
fontSize: 17,
),
textAlign: TextAlign.left,
),
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text("Mobile Devices, TV Display, Kiosk, & Web Admin System",
child: Text(
"Mobile Function: Application for patients (online appointment, queuing information, online payment)",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"TV Display Function: Display queue calls at every counter or doctor queue at the hospital.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"Kiosk Function: Queue pick-up, self-reservation on site, check-in.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white,
fontSize: 17,
),
textAlign: TextAlign.left,
),
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"Mobile Function: Application for patients (online appointment, queuing information, online payment)",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"TV Display Function: Display queue calls at every counter or doctor queue at the hospital.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"Kiosk Function: Queue pick-up, self-reservation on site, check-in.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white,
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text("Web Admin Function: Queue management in hospital, reservation by admin or hospital officer, queue call.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
)
),
// SizedBox(height: 10,),
Container(
height : 35,
width : 180,
child: ElevatedButton(
onPressed: (){
Navigator.pushNamed(context, '/register');
},
style: ElevatedButton.styleFrom(
primary: Colors.blue[900],
onSurface: Colors.white,
side: BorderSide(
color: Colors.white
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(30)
),
),
)
),
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text("Web Admin Function: Queue management in hospital, reservation by admin or hospital officer, queue call.",
style: TextStyle(
fontSize: 15,
height: 1.3,
letterSpacing: 1.3,
color: Colors.white
),
child: Text(
"Download",
style: TextStyle(
fontSize: 18,
letterSpacing: 2
)
),
// SizedBox(height: 10,),
Container(
height : 35,
width : 180,
child: ElevatedButton(
onPressed: (){
Navigator.pushNamed(context, '/register');
},
style: ElevatedButton.styleFrom(
primary: Colors.blue[900],
onSurface: Colors.white,
side: BorderSide(
color: Colors.white
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(30)
),
),
),
child: Text(
"Download",
style: TextStyle(
fontSize: 18,
letterSpacing: 2
),
),
),
],
),
),
SizedBox(width: 10,),
Container(
width: ScreenSize.width * 0.3,
height: ScreenSize.height * 0.69,
// color: Colors.white,
decoration: BoxDecoration(
color: Colors.white,
image: DecorationImage(
image: AssetImage('assets/images/medaps3.png')
),
borderRadius: BorderRadius.circular(20),
],
),
),
SizedBox(width: 10,),
Container(
width: ScreenSize.width * 0.3,
height: ScreenSize.height * 0.69,
// color: Colors.white,
decoration: BoxDecoration(
color: Colors.white,
image: DecorationImage(
image: AssetImage('assets/images/medaps3.png')
),
)
],
),
borderRadius: BorderRadius.circular(20),
),
)
],
),
),
......
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