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