Commit 175c1ec5 authored by Budi Prasetyo's avatar Budi Prasetyo

home 4 resize

parent ea6cfde3
...@@ -35,164 +35,119 @@ class Home4 extends StatelessWidget { ...@@ -35,164 +35,119 @@ class Home4 extends StatelessWidget {
), ),
child: Container( child: Container(
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Container( Container(
width: ScreenSize.width * 0.45, width: ScreenSize.width * 0.4,
height: ScreenSize.height * 0.85, height: ScreenSize.height * 0.85,
color: Colors.blue[900], //color: Colors.blue[900],
child: Container( color: Colors.green,
alignment: Alignment.topLeft, child: Column(
padding: EdgeInsets.all(30), mainAxisAlignment: MainAxisAlignment.spaceEvenly,
child: Column( children: <Widget>[
mainAxisAlignment: MainAxisAlignment.start, Container(
children: <Widget>[ height: ScreenSize.height*0.08,
SizedBox(height: 40,), width: ScreenSize.width,
Row( child: Text("Media used by MedApp",
children: [ style: TextStyle(
Text("Media used by MedApp", color: Colors.white,
style: TextStyle( fontSize: 27,
color: Colors.white, fontWeight: FontWeight.bold,
fontSize: 36, ),
fontWeight: FontWeight.bold, textAlign: TextAlign.left,
),
textAlign: TextAlign.left,
),
],
), ),
SizedBox(height: 10,), ),
Row(
children: [ Container(
Text("Mobile Devices, TV Display, Kiosk, & Web Admin System", width: ScreenSize.width,
style: TextStyle( child: Text("Mobile Devices, TV Display, Kiosk, & Web Admin System",
color: Colors.white, style: TextStyle(
fontSize: 24, color: Colors.white,
), fontSize: 17,
textAlign: TextAlign.left, ),
), textAlign: TextAlign.left,
],
), ),
SizedBox(height: 30,), ),
Row( Container(
children: [ height: ScreenSize.height*0.1,
Container( width: ScreenSize.width,
height: 80, child: Text(
width: ScreenSize.width *0.30, "Mobile Function: Application for patients (online appointment, queuing information, online payment)",
child: Text( style: TextStyle(
"Mobile Function: Application for patients (online appointment, queuing information, online payment)", fontSize: 15,
style: TextStyle( height: 1.3,
fontSize: 16, letterSpacing: 1.3,
height: 1.3, color: Colors.white
letterSpacing: 1.3,
color: Colors.white
),
)
), ),
], )
), ),
Row( Container(
children: [ height: ScreenSize.height*0.1,
Container( width: ScreenSize.width,
height: 80, child: Text(
width: ScreenSize.width *0.30, "TV Display Function: Display queue calls at every counter or doctor queue at the hospital.",
child: Text( style: TextStyle(
"TV Display Function: Display queue calls at every counter or doctor queue at the hospital", fontSize: 15,
style: TextStyle( height: 1.3,
fontSize: 16, letterSpacing: 1.3,
height: 1.3, color: Colors.white
letterSpacing: 1.3,
color: Colors.white
),
)
), ),
], )
), ),
Row( Container(
children: [ height: ScreenSize.height*0.05,
Container( width: ScreenSize.width,
height: 80, child: Text(
width: ScreenSize.width *0.30, "Kiosk Function: Queue pick-up, self-reservation on site, check-in.",
child: Text( style: TextStyle(
"Kiosk Function: Queue pick-up, self-reservation on site, check-in", fontSize: 15,
style: TextStyle( height: 1.3,
fontSize: 16, letterSpacing: 1.3,
height: 1.3, color: Colors.white,
letterSpacing: 1.3,
color: Colors.white,
),
)
), ),
], )
), ),
Row( Container(
children: [ height: ScreenSize.height*0.1,
Container( width: ScreenSize.width,
height: 80, child: Text("Web Admin Function: Queue management in hospital, reservation by admin or hospital officer, queue call.",
width: ScreenSize.width *0.30, style: TextStyle(
child: Text("Web Admin Function: Queue management in hospital, reservation by admin or hospital officer, queue call ", fontSize: 15,
style: TextStyle( height: 1.3,
fontSize: 16, letterSpacing: 1.3,
height: 1.3, color: Colors.white
letterSpacing: 1.3,
color: Colors.white
),
)
), ),
], )
), ),
// SizedBox(height: 10,), // SizedBox(height: 10,),
Row( Container(
children: [ height : 35,
Container( width : 180,
height : 35, child: ElevatedButton(
width : 180, onPressed: (){
child: ElevatedButton( Navigator.pushNamed(context, '/register');
onPressed: (){ },
Navigator.pushNamed(context, '/register'); style: ElevatedButton.styleFrom(
}, primary: Colors.blue[900],
style: ElevatedButton.styleFrom( onSurface: Colors.white,
primary: Colors.blue[900], side: BorderSide(
onSurface: Colors.white, color: Colors.white
side: BorderSide( ),
color: Colors.white shape: RoundedRectangleBorder(
), borderRadius: BorderRadius.all(Radius.circular(30)
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(30)
),
),
),
child: Text(
"Download",
style: TextStyle(
fontSize: 18,
letterSpacing: 2
),
),
), ),
// child: ElevatedButton(
// onPressed: (){},
// style: DefaultColors(),
// // ElevatedButton.styleFrom(
// // primary: Colors.blue,
// // fixedSize: Size(170, 85),
// // onPrimary: Colors.white,
// // shape: RoundedRectangleBorder(
// // borderRadius: BorderRadius.all(Radius.circular(30),
// // )
// // )
// // ),
// child: Text("LEARN MORE",
// style: TextStyle(
// fontSize: 18,
// letterSpacing: 2
// ),
// ),
// ),
), ),
], ),
child: Text(
"Download",
style: TextStyle(
fontSize: 18,
letterSpacing: 2
),
),
), ),
], ),
), ],
), ),
), ),
SizedBox(width: 10,), SizedBox(width: 10,),
......
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