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'; ...@@ -3,6 +3,7 @@ import 'package:medapp_eksad/appbar/appbar_home.dart';
import 'package:medapp_eksad/screen/footer.dart'; import 'package:medapp_eksad/screen/footer.dart';
import 'package:medapp_eksad/screen/solution/our_solution.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/our_solution2.dart';
import 'package:medapp_eksad/screen/solution/home3.dart';
import 'package:medapp_eksad/widget/responsive.dart'; import 'package:medapp_eksad/widget/responsive.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
...@@ -36,6 +37,7 @@ class _SolutionsState extends State<Solutions> { ...@@ -36,6 +37,7 @@ class _SolutionsState extends State<Solutions> {
children: const [ children: const [
OurSolution(), OurSolution(),
OurSolution2(), OurSolution2(),
Home3(),
Footer(), Footer(),
], ],
), ),
......
...@@ -14,12 +14,12 @@ class _Home3State extends State<Home3> { ...@@ -14,12 +14,12 @@ class _Home3State extends State<Home3> {
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.all(10), padding: const EdgeInsets.all(10),
width: screenSize.width, width: screenSize.width,
height: screenSize.height * 0.70, height: screenSize.height * 0.70,
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
SizedBox( const SizedBox(
height:40, height:40,
), ),
Text("MedApps Features", Text("MedApps Features",
...@@ -29,7 +29,7 @@ class _Home3State extends State<Home3> { ...@@ -29,7 +29,7 @@ class _Home3State extends State<Home3> {
color: Colors.blue[900] color: Colors.blue[900]
), ),
), ),
SizedBox( const SizedBox(
height: 40, height: 40,
), ),
Row( Row(
...@@ -52,11 +52,11 @@ class _Home3State extends State<Home3> { ...@@ -52,11 +52,11 @@ class _Home3State extends State<Home3> {
), ),
), ),
), ),
SizedBox( const SizedBox(
height: 20, height: 20,
), ),
Container( Container(
padding: EdgeInsets.only(top: 5), padding: const EdgeInsets.only(top: 5),
width: 250, width: 250,
height: 50, height: 50,
child: Text( child: Text(
...@@ -70,11 +70,11 @@ class _Home3State extends State<Home3> { ...@@ -70,11 +70,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
) )
), ),
SizedBox(height: 10,), const SizedBox(height: 10,),
Container( SizedBox(
width: 220, width: 220,
height: screenSize.height * 0.30, 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.", 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> { ...@@ -97,11 +97,11 @@ class _Home3State extends State<Home3> {
), ),
), ),
), ),
SizedBox( const SizedBox(
height: 20, height: 20,
), ),
Container( Container(
padding: EdgeInsets.only(top: 5), padding: const EdgeInsets.only(top: 5),
width: 250, width: 250,
height: 50, height: 50,
child: Text( child: Text(
...@@ -115,11 +115,11 @@ class _Home3State extends State<Home3> { ...@@ -115,11 +115,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
) )
), ),
SizedBox(height: 10,), const SizedBox(height: 10,),
Container( SizedBox(
width: 220, width: 220,
height: screenSize.height * 0.30, 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.", 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> { ...@@ -142,11 +142,11 @@ class _Home3State extends State<Home3> {
), ),
), ),
), ),
SizedBox( const SizedBox(
height: 20, height: 20,
), ),
Container( Container(
padding: EdgeInsets.only(top: 5), padding: const EdgeInsets.only(top: 5),
width: 250, width: 250,
height: 50, height: 50,
child: Text( child: Text(
...@@ -160,11 +160,11 @@ class _Home3State extends State<Home3> { ...@@ -160,11 +160,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
) )
), ),
SizedBox(height: 10,), const SizedBox(height: 10,),
Container( SizedBox(
width: 220, width: 220,
height: screenSize.height * 0.30, 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.", 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> { ...@@ -187,11 +187,11 @@ class _Home3State extends State<Home3> {
), ),
), ),
), ),
SizedBox( const SizedBox(
height: 20, height: 20,
), ),
Container( Container(
padding: EdgeInsets.only(top: 5), padding: const EdgeInsets.only(top: 5),
width: 250, width: 250,
height: 50, height: 50,
child: Text( child: Text(
...@@ -205,11 +205,11 @@ class _Home3State extends State<Home3> { ...@@ -205,11 +205,11 @@ class _Home3State extends State<Home3> {
textAlign: TextAlign.center, textAlign: TextAlign.center,
) )
), ),
SizedBox(height: 10,), const SizedBox(height: 10,),
Container( SizedBox(
width: 220, width: 220,
height: screenSize.height * 0.30, 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.", 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