Commit 977d1623 authored by r.manan@eksad.com's avatar r.manan@eksad.com

home4: smallscreen

parent 33b15759
...@@ -7,13 +7,13 @@ class SmallHome4 extends StatelessWidget { ...@@ -7,13 +7,13 @@ class SmallHome4 extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
var ScreenSize = MediaQuery.of(context).size; var ScreenSize = MediaQuery.of(context).size;
return Container( return Container(
padding: EdgeInsets.symmetric(horizontal: 15), padding: EdgeInsets.symmetric(horizontal: 10,vertical: 20),
width: ScreenSize.width, width: ScreenSize.width,
height: ScreenSize.height * 1.7, height: ScreenSize.height * 1.2,
color: Colors.white, color: Colors.white,
child: Container( child: Container(
width: ScreenSize.width * 0.20, width: ScreenSize.width * 0.20,
height: ScreenSize.height * 0.75, height: ScreenSize.height * 1,
decoration: BoxDecoration( decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20), borderRadius: BorderRadius.circular(20),
//color: Color.fromARGB(200, 9, 47, 171), //color: Color.fromARGB(200, 9, 47, 171),
...@@ -30,35 +30,41 @@ class SmallHome4 extends StatelessWidget { ...@@ -30,35 +30,41 @@ class SmallHome4 extends StatelessWidget {
), ),
], ],
), ),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20,vertical: 15),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Container( Container(
width: ScreenSize.width * 0.36, height: ScreenSize.height*0.1,
height: ScreenSize.height * 0.7, width: ScreenSize.width,
color: Colors.blue[900],
child: Column(
children: <Widget>[
Column(
children: [
Container(
height: ScreenSize.height*0.3,
width: ScreenSize.width * 0.30,
child: Text( child: Text(
"Mobile & Web Apps", "Mobile & Web Apps",
style: TextStyle(color: Colors.white, fontSize: 34), style: TextStyle(color: Colors.white, fontSize: 36),
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
), ),
Container( Container(
height: ScreenSize.height*0.3, width: ScreenSize.width*0.8,
width: ScreenSize.width * 0.30, height: ScreenSize.height * 0.6,
// color: Colors.white,
decoration: BoxDecoration(
color: Colors.white,
image: DecorationImage(
image: AssetImage('assets/images/medaps3.png'),fit: BoxFit.fill),
borderRadius: BorderRadius.circular(20)),
),
Container(
height: ScreenSize.height*0.13,
width: ScreenSize.width,
child: Text( child: Text(
"MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi", "MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi",
style: TextStyle(fontSize: 18, color: Colors.white), style: TextStyle(fontSize: 20, color: Colors.white),
textAlign: TextAlign.justify,
)), )),
Container( Center(
child: Container(
height: 50, height: 50,
width: 200, width: 200,
child: ElevatedButton( child: ElevatedButton(
...@@ -78,23 +84,10 @@ class SmallHome4 extends StatelessWidget { ...@@ -78,23 +84,10 @@ class SmallHome4 extends StatelessWidget {
), ),
), ),
), ),
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