Commit 8b8f452c authored by Budi Prasetyo's avatar Budi Prasetyo

home 4 resize v3

parent 4dcb6e79
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:medapp_eksad/widget/button_color.dart';
class Home4 extends StatelessWidget { class Home4 extends StatelessWidget {
const Home4({Key? key}) : super(key: key); const Home4({Key? key}) : super(key: key);
...@@ -12,8 +11,8 @@ class Home4 extends StatelessWidget { ...@@ -12,8 +11,8 @@ class Home4 extends StatelessWidget {
height: ScreenSize.height * 0.99, height: ScreenSize.height * 0.99,
color: Colors.white, color: Colors.white,
child: Container( child: Container(
padding: EdgeInsets.all(20), padding: const EdgeInsets.all(20),
margin: EdgeInsets.fromLTRB(160, 90, 160, 90), margin: const EdgeInsets.fromLTRB(160, 90, 160, 90),
width: ScreenSize.width * 0.20, width: ScreenSize.width * 0.20,
height: ScreenSize.height * 0.90, height: ScreenSize.height * 0.90,
decoration: BoxDecoration( decoration: BoxDecoration(
...@@ -33,12 +32,11 @@ class Home4 extends StatelessWidget { ...@@ -33,12 +32,11 @@ class Home4 extends StatelessWidget {
), ),
], ],
), ),
child: Container(
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Container( Container(
padding: EdgeInsets.all(9), padding: const EdgeInsets.all(9),
width: ScreenSize.width * 0.4, width: ScreenSize.width * 0.4,
height: ScreenSize.height * 0.85, height: ScreenSize.height * 0.85,
//color: Colors.blue[900], //color: Colors.blue[900],
...@@ -46,7 +44,7 @@ class Home4 extends StatelessWidget { ...@@ -46,7 +44,7 @@ class Home4 extends StatelessWidget {
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[ children: <Widget>[
Container( SizedBox(
height: ScreenSize.height*0.08, height: ScreenSize.height*0.08,
width: ScreenSize.width, width: ScreenSize.width,
child: Text("Media used by MedApp", child: Text("Media used by MedApp",
...@@ -167,7 +165,6 @@ class Home4 extends StatelessWidget { ...@@ -167,7 +165,6 @@ class Home4 extends StatelessWidget {
], ],
), ),
), ),
),
); );
} }
......
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