Commit 480fc977 authored by Budi Prasetyo's avatar Budi Prasetyo

small size solution

parent 188ea743
......@@ -3,7 +3,11 @@ 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/screen/solution/our_solution3.dart';
import 'package:medapp_eksad/screen_small/small_footer.dart';
import 'package:medapp_eksad/screen_small/small_solution/small_solution1.dart';
import 'package:medapp_eksad/screen_small/small_solution/small_solution2.dart';
import 'package:medapp_eksad/widget/drawer.dart';
import 'package:medapp_eksad/widget/responsive.dart';
import 'package:flutter/services.dart';
......@@ -33,14 +37,24 @@ class _SolutionsState extends State<Solutions> {
? AppBarKecil()
: AppbarHomeLarge(screenSize, context, Colors.black, Colors.black,
Colors.blue, Colors.black, Colors.black),
body: ListView(
children: const [
OurSolution(),
OurSolution2(),
Home3(),
Footer(),
],
),
drawer: DrawerMeddApp(),
body: ResponsiveWidget.isSmallScreen(context)
? ListView(
children: const [
SmallOurSolution(),
SmallOurSolution2(),
FooterSmall(),
],
)
: ListView(
children: const [
OurSolution(),
OurSolution2(),
OurSolution3(),
Footer(),
],
),
);
}
......
import 'package:flutter/material.dart';
import 'package:medapp_eksad/animation/animasi_kiri_kanan.dart';
import 'package:medapp_eksad/animation/animasi_kanan_kiri.dart';
class Home3 extends StatefulWidget {
const Home3({Key? key}) : super(key: key);
@override
State<Home3> createState() => _Home3State();
}
class _Home3State extends State<Home3> {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
padding: const EdgeInsets.all(10),
width: screenSize.width,
height: screenSize.height * 0.75,
child: Column(
children: <Widget>[
const SizedBox(
height:40,
),
Text("MedApps Features",
style: TextStyle(
fontSize: 32,
fontWeight: FontWeight.bold,
color: Colors.blue[900]
),
),
const SizedBox(
height: 40,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution2.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"RETAINED SEARCH",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution1.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"DEDICATED SERVICES",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution3.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"CONTRACT SERVICES",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution4.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"RECRUITMENT PROCESS OUTSOURCING",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
],
)
],
),
);
}
}
import 'package:flutter/material.dart';
import 'package:medapp_eksad/animation/animasi_kiri_kanan.dart';
import 'package:medapp_eksad/animation/animasi_kanan_kiri.dart';
class OurSolution3 extends StatefulWidget {
const OurSolution3({Key? key}) : super(key: key);
@override
State<OurSolution3> createState() => _OurSolution3State();
}
class _OurSolution3State extends State<OurSolution3> {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
padding: const EdgeInsets.all(10),
width: screenSize.width,
height: screenSize.height * 0.75,
child: Column(
children: <Widget>[
const SizedBox(
height:40,
),
Text("MedApps Features",
style: TextStyle(
fontSize: 32,
fontWeight: FontWeight.bold,
color: Colors.blue[900]
),
),
const SizedBox(
height: 40,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution2.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"RETAINED SEARCH",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution1.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"DEDICATED SERVICES",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution3.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"CONTRACT SERVICES",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
children: [
Container(
padding: EdgeInsets.only(top: screenSize.height * 0.01),
width: screenSize.width * 0.5,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/our_solution4.png',
height: 50,
width: 50,
),
),
),
const SizedBox(
height: 20,
),
Container(
padding: const EdgeInsets.only(top: 5),
width: 250,
height: 50,
child: Text(
"RECRUITMENT PROCESS OUTSOURCING",
style: TextStyle(
color: Colors.blue[800],
fontSize: 17,
letterSpacing: 1.1,
fontWeight: FontWeight.w600
),
textAlign: TextAlign.center,
)
),
const SizedBox(height: 10,),
SizedBox(
width: 220,
height: screenSize.height * 0.30,
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.",
),
),
],
),
),
],
)
],
),
);
}
}
......@@ -27,7 +27,7 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
height: screenSize.height * 1.75,
height: screenSize.height * 1.8,
width: screenSize.width,
padding: EdgeInsets.symmetric(horizontal: 15),
// color: Colors.blue,
......@@ -76,6 +76,7 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
style: GoogleFonts.poppins(
color: Colors.white, fontSize: 18, letterSpacing: 1.2)),
),
SizedBox(height: 5,),
Center(
child: Form(
key: _formKey,
......
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:show_up_animation/show_up_animation.dart';
class SmallOurSolution extends StatefulWidget {
const SmallOurSolution({Key? key}) : super(key: key);
@override
State<SmallOurSolution> createState() => _SmallOurSolutionState();
}
class _SmallOurSolutionState extends State<SmallOurSolution> {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Stack(
children: [
Container(
width: screenSize.width,
height: screenSize.height * 0.8,
decoration: const BoxDecoration(
image: DecorationImage(
image: AssetImage(
"assets/images/solution.jpg",
),
alignment: Alignment.topCenter,
fit: BoxFit.cover),
),
),
const SizedBox(
height: 10,
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.5,
// ),
),
Container(
padding: EdgeInsets.symmetric(horizontal: screenSize.height*0.1),
child: Center(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
const SizedBox(height: 70),
Container(
height: screenSize.height * 0.2,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.bounceIn,
direction: Direction.horizontal,
offset: -0.2,
child: Text(
'Find & Get the Best Talent',
style: GoogleFonts.poppins(
fontSize: 34,
fontWeight: FontWeight.bold,
color: Colors.black87),
textAlign: TextAlign.center,
),
),
),
const SizedBox(height: 5),
Container(
width: screenSize.width * 0.5,
height: screenSize.height * 0.30,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: Text(
'Register for free now, find our Best Talent, and enjoy our unlimited hires at a low cost',
style: GoogleFonts.poppins(
fontSize: 18,
letterSpacing: 1.8,
height: 1.4,
fontWeight: FontWeight.bold,
color: Colors.black87),
textAlign: TextAlign.center,
),
),
),
const SizedBox(height: 5),
Container(
height: 50,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.bounceIn,
direction: Direction.horizontal,
offset: -0.2,
child: ElevatedButton(
onPressed: () {
Navigator.pushNamed(context, '/register');
},
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
primary: Color.fromARGB(255, 48, 104, 170),
// shape: MaterialStateProperty.all(RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0))),
),
child: const Text(
'FREE DEMO',
style: TextStyle(
fontSize: 19,
fontWeight: FontWeight.w500,
letterSpacing: 1.1,
color: Colors.white),
),
),
),
),
const SizedBox(
height: 10,
)
],
),
),
),
],
);
}
}
import 'package:flutter/material.dart';
import 'package:medapp_eksad/widget/small_image_slide.dart';
class SmallOurSolution2 extends StatefulWidget {
const SmallOurSolution2({Key? key}) : super(key: key);
@override
State<SmallOurSolution2> createState() => _SmallOurSolution2State();
}
class _SmallOurSolution2State extends State<SmallOurSolution2> {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
width: screenSize.width,
height: screenSize.height*0.55,
padding: EdgeInsets.symmetric(horizontal: screenSize.width*0.05, vertical: screenSize.height*0.05),
child: Container(
width: screenSize.width*0.95,
height: screenSize.height*0.5,
child: SmallVerticalSlider()
),
);
}
}
import 'package:flutter/material.dart';
import 'package:carousel_slider/carousel_slider.dart';
final List<String> imgList = [
'assets/images/solution1.jpg',
'assets/images/solution2.jpg',
];
final List<Widget> imageSliders = imgList
.map((item) => Container(
child: Container(
margin: const EdgeInsets.all(5.0),
child: ClipRRect(
borderRadius: const BorderRadius.all(Radius.circular(5.0)),
child: Stack(
children: <Widget> [
Image.asset(
item,
fit: BoxFit.cover,
width: 670,
),
Positioned(
bottom: 0.0,
left: 0.0,
right: 0.0,
child: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
colors: [
Color.fromARGB(200, 0, 0, 0),
Color.fromARGB(0, 0, 0, 0)
],
begin: Alignment.bottomCenter,
end: Alignment.topCenter,
),
),
// padding: const EdgeInsets.symmetric(
// vertical: 10.0, horizontal: 20.0),
// child: const Text(
// 'Bootcamp',
// //'No. ${imgList.indexOf(item)} image',
// style: TextStyle(
// color: Colors.white,
// fontSize: 20.0,
// fontWeight: FontWeight.bold,
// ),
// ),
),
),
],
)),
),
))
.toList();
final CarouselController _controller = CarouselController();
@override
void initState() {
initState();
}
class SmallVerticalSlider extends StatelessWidget {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Stack(
children: [
Center(
child: Container(
width: screenSize.width*0.9,
child: CarouselSlider(
carouselController: _controller,
options: CarouselOptions(
aspectRatio: 2.0,
enlargeCenterPage: true,
scrollDirection: Axis.horizontal,
autoPlay: true,
),
items: imageSliders,
),
),
),
Center(
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Flexible(
child: Container(
width: 45,
child: ElevatedButton(
onPressed: () => _controller.previousPage(),
style: ElevatedButton.styleFrom(primary: Colors.grey),
child: Icon(Icons.arrow_back_ios_new_outlined),
),
),
),
Flexible(
child: Container(
width: 45,
child: ElevatedButton(
onPressed: () => _controller.nextPage(),
style: ElevatedButton.styleFrom(primary: Colors.grey),
child: Icon(Icons.arrow_forward_ios_outlined),
),
),
),
],
),
)
],
);
}
}
......@@ -78,6 +78,7 @@ flutter:
- assets/logo/
- assets/images/
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
......
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