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 {
Widget build(BuildContext context) {
var ScreenSize = MediaQuery.of(context).size;
return Container(
padding: EdgeInsets.symmetric(horizontal: 15),
padding: EdgeInsets.symmetric(horizontal: 10,vertical: 20),
width: ScreenSize.width,
height: ScreenSize.height * 1.7,
height: ScreenSize.height * 1.2,
color: Colors.white,
child: Container(
width: ScreenSize.width * 0.20,
height: ScreenSize.height * 0.75,
height: ScreenSize.height * 1,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20),
//color: Color.fromARGB(200, 9, 47, 171),
......@@ -30,70 +30,63 @@ class SmallHome4 extends StatelessWidget {
),
],
),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Container(
width: ScreenSize.width * 0.36,
height: ScreenSize.height * 0.7,
color: Colors.blue[900],
child: Column(
children: <Widget>[
Column(
children: [
Container(
height: ScreenSize.height*0.3,
width: ScreenSize.width * 0.30,
child: Text(
"Mobile & Web Apps",
style: TextStyle(color: Colors.white, fontSize: 34),
textAlign: TextAlign.center,
),
),
Container(
height: ScreenSize.height*0.3,
width: ScreenSize.width * 0.30,
child: Text(
"MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi",
style: TextStyle(fontSize: 18, color: Colors.white),
)),
Container(
height: 50,
width: 200,
child: ElevatedButton(
onPressed: () {},
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(
"LEARN MORE",
style: TextStyle(fontSize: 18, letterSpacing: 2),
),
),
),
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)),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20,vertical: 15),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
height: ScreenSize.height*0.1,
width: ScreenSize.width,
child: Text(
"Mobile & Web Apps",
style: TextStyle(color: Colors.white, fontSize: 36),
textAlign: TextAlign.center,
),
),
Container(
width: ScreenSize.width*0.8,
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(
"MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi",
style: TextStyle(fontSize: 20, color: Colors.white),
textAlign: TextAlign.justify,
)),
Center(
child: Container(
height: 50,
width: 200,
child: ElevatedButton(
onPressed: () {},
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(
"LEARN MORE",
style: TextStyle(fontSize: 18, letterSpacing: 2),
),
),
],
),
),
),
],
],
),
),
),
);
......
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