Commit 0c807ebe authored by r.manan@eksad.com's avatar r.manan@eksad.com

home4: smallscreen

parent 3e1c8bd8
...@@ -7,7 +7,7 @@ class SmallHome4 extends StatelessWidget { ...@@ -7,7 +7,7 @@ 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: 10,vertical: 20), padding: EdgeInsets.symmetric(horizontal: 10, vertical: 20),
width: ScreenSize.width, width: ScreenSize.width,
height: ScreenSize.height * 1.2, height: ScreenSize.height * 1.2,
color: Colors.white, color: Colors.white,
...@@ -16,8 +16,16 @@ class SmallHome4 extends StatelessWidget { ...@@ -16,8 +16,16 @@ class SmallHome4 extends StatelessWidget {
height: ScreenSize.height * 1, 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),
color: Colors.blue[900], gradient: LinearGradient(
colors: <Color>[
Color(0xff137fc2),
Color(0xff3958d5),
Color(0xff184b80),
],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
),
boxShadow: [ boxShadow: [
BoxShadow( BoxShadow(
color: const Color.fromARGB(255, 10, 116, 255).withAlpha(60), color: const Color.fromARGB(255, 10, 116, 255).withAlpha(60),
...@@ -31,13 +39,13 @@ class SmallHome4 extends StatelessWidget { ...@@ -31,13 +39,13 @@ class SmallHome4 extends StatelessWidget {
], ],
), ),
child: Padding( child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 20,vertical: 15), padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 15),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Container( Container(
height: ScreenSize.height*0.1, height: ScreenSize.height * 0.1,
width: ScreenSize.width, width: ScreenSize.width,
child: Text( child: Text(
"Mobile & Web Apps", "Mobile & Web Apps",
...@@ -46,17 +54,18 @@ class SmallHome4 extends StatelessWidget { ...@@ -46,17 +54,18 @@ class SmallHome4 extends StatelessWidget {
), ),
), ),
Container( Container(
width: ScreenSize.width*0.8, width: ScreenSize.width * 0.85,
height: ScreenSize.height * 0.6, height: ScreenSize.height * 0.6,
// color: Colors.white, // color: Colors.white,
decoration: BoxDecoration( decoration: BoxDecoration(
color: Colors.white, color: Colors.white,
image: DecorationImage( image: DecorationImage(
image: AssetImage('assets/images/medaps3.png'),fit: BoxFit.fill), image: AssetImage('assets/images/medaps3.png'),
fit: BoxFit.fill),
borderRadius: BorderRadius.circular(20)), borderRadius: BorderRadius.circular(20)),
), ),
Container( Container(
height: ScreenSize.height*0.13, height: ScreenSize.height * 0.13,
width: ScreenSize.width, 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",
...@@ -74,8 +83,7 @@ class SmallHome4 extends StatelessWidget { ...@@ -74,8 +83,7 @@ class SmallHome4 extends StatelessWidget {
onSurface: Colors.white, onSurface: Colors.white,
side: BorderSide(color: Colors.white), side: BorderSide(color: Colors.white),
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: borderRadius: BorderRadius.all(Radius.circular(30)),
BorderRadius.all(Radius.circular(30)),
), ),
), ),
child: Text( child: Text(
......
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