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

home 4 resize v3

parent 4dcb6e79
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:medapp_eksad/widget/button_color.dart';
class Home4 extends StatelessWidget { class Home4 extends StatelessWidget {
const Home4({Key? key}) : super(key: key); const Home4({Key? key}) : super(key: key);
...@@ -12,8 +11,8 @@ class Home4 extends StatelessWidget { ...@@ -12,8 +11,8 @@ class Home4 extends StatelessWidget {
height: ScreenSize.height * 0.99, height: ScreenSize.height * 0.99,
color: Colors.white, color: Colors.white,
child: Container( child: Container(
padding: EdgeInsets.all(20), padding: const EdgeInsets.all(20),
margin: EdgeInsets.fromLTRB(160, 90, 160, 90), margin: const EdgeInsets.fromLTRB(160, 90, 160, 90),
width: ScreenSize.width * 0.20, width: ScreenSize.width * 0.20,
height: ScreenSize.height * 0.90, height: ScreenSize.height * 0.90,
decoration: BoxDecoration( decoration: BoxDecoration(
...@@ -33,139 +32,137 @@ class Home4 extends StatelessWidget { ...@@ -33,139 +32,137 @@ class Home4 extends StatelessWidget {
), ),
], ],
), ),
child: Container( child: Row(
child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly,
mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: <Widget>[
children: <Widget>[ Container(
Container( padding: const EdgeInsets.all(9),
padding: EdgeInsets.all(9), width: ScreenSize.width * 0.4,
width: ScreenSize.width * 0.4, height: ScreenSize.height * 0.85,
height: ScreenSize.height * 0.85, //color: Colors.blue[900],
//color: Colors.blue[900],
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Container( SizedBox(
height: ScreenSize.height*0.08, height: ScreenSize.height*0.08,
width: ScreenSize.width, width: ScreenSize.width,
child: Text("Media used by MedApp", child: Text("Media used by MedApp",
style: TextStyle( style: TextStyle(
color: Colors.white, color: Colors.white,
fontSize: 27, fontSize: 27,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
),
textAlign: TextAlign.left,
), ),
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, 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( 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, color: Colors.white,
fontSize: 17,
), ),
textAlign: TextAlign.left, )
), ),
), Container(
Container( height: ScreenSize.height*0.1,
height: ScreenSize.height*0.1, width: ScreenSize.width,
width: ScreenSize.width, child: Text("Web Admin Function: Queue management in hospital, reservation by admin or hospital officer, queue call.",
child: Text( style: TextStyle(
"Mobile Function: Application for patients (online appointment, queuing information, online payment)", fontSize: 15,
style: TextStyle( height: 1.3,
fontSize: 15, letterSpacing: 1.3,
height: 1.3, color: Colors.white
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)
),
),
), ),
child: Text( )
"Download", ),
style: TextStyle( // SizedBox(height: 10,),
fontSize: 18, Container(
letterSpacing: 2 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