Commit 6cd061aa authored by Arham Aulia Nugraha's avatar Arham Aulia Nugraha

home 3

adding const and change from container to sizebox
parent 747a18a8
......@@ -3,6 +3,7 @@ import 'package:medapp_eksad/appbar/appbar_home.dart';
import 'package:medapp_eksad/screen/footer.dart';
import 'package:medapp_eksad/screen/solution/our_solution.dart';
import 'package:medapp_eksad/screen/solution/our_solution2.dart';
import 'package:medapp_eksad/screen/solution/home3.dart';
import 'package:medapp_eksad/widget/responsive.dart';
import 'package:flutter/services.dart';
......@@ -36,6 +37,7 @@ class _SolutionsState extends State<Solutions> {
children: const [
OurSolution(),
OurSolution2(),
Home3(),
Footer(),
],
),
......
......@@ -14,12 +14,12 @@ class _Home3State extends State<Home3> {
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
padding: EdgeInsets.all(10),
padding: const EdgeInsets.all(10),
width: screenSize.width,
height: screenSize.height * 0.70,
child: Column(
children: <Widget>[
SizedBox(
const SizedBox(
height:40,
),
Text("MedApps Features",
......@@ -29,7 +29,7 @@ class _Home3State extends State<Home3> {
color: Colors.blue[900]
),
),
SizedBox(
const SizedBox(
height: 40,
),
Row(
......@@ -52,11 +52,11 @@ class _Home3State extends State<Home3> {
),
),
),
SizedBox(
const SizedBox(
height: 20,
),
Container(
padding: EdgeInsets.only(top: 5),
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
......@@ -70,11 +70,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center,
)
),
SizedBox(height: 10,),
Container(
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
child: Animasi_Kanan_Kiri(
child: const Animasi_Kanan_Kiri(
judul: "We not only keep our eyes wide open for talented individuals, we make it an active endeavour. One that digs deeper to find you that star employee ahead of your competition.",
),
),
......@@ -97,11 +97,11 @@ class _Home3State extends State<Home3> {
),
),
),
SizedBox(
const SizedBox(
height: 20,
),
Container(
padding: EdgeInsets.only(top: 5),
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
......@@ -115,11 +115,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center,
)
),
SizedBox(height: 10,),
Container(
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
child: Animasi_Kanan_Kiri(
child: const Animasi_Kanan_Kiri(
judul: "Our dedicated team of recruiters help fulfill your critical hiring needs in the mid-level and executive positions making the recruitment cycle short and efficient.",
),
),
......@@ -142,11 +142,11 @@ class _Home3State extends State<Home3> {
),
),
),
SizedBox(
const SizedBox(
height: 20,
),
Container(
padding: EdgeInsets.only(top: 5),
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
......@@ -160,11 +160,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center,
)
),
SizedBox(height: 10,),
Container(
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
child: Animasi_Kanan_Kiri(
child: const Animasi_Kanan_Kiri(
judul: "Time sensitive projects are treated with urgency to provide skilled technical resources needed for quick and cost-effective turnaround.",
),
),
......@@ -187,11 +187,11 @@ class _Home3State extends State<Home3> {
),
),
),
SizedBox(
const SizedBox(
height: 20,
),
Container(
padding: EdgeInsets.only(top: 5),
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
......@@ -205,11 +205,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center,
)
),
SizedBox(height: 10,),
Container(
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
child: Animasi_Kanan_Kiri(
child: const Animasi_Kanan_Kiri(
judul: "Hire the best without ever having to face the logistics. From the very beginning till actually getting your next \"rockstar\"employees to walk in and take their positions on your floors.",
),
),
......
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