Commit cf98f0fd authored by r.manan@eksad.com's avatar r.manan@eksad.com

Merge branch 'master' of http://103.44.149.204/qorridi/medapp_eksad

 Conflicts:
	lib/screen/solution.dart
parents cc1dbe30 ac9fb26f
......@@ -24,3 +24,28 @@ class Animasi_Kanan_Kiri extends StatelessWidget {
);
}
}
class Animasi_Kanan_Kiri_Justify extends StatelessWidget {
const Animasi_Kanan_Kiri_Justify({Key? key, required this.judul}) : super(key: key);
final String judul;
@override
Widget build(BuildContext context) {
return ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: Center(
child: Text(
judul,
style: GoogleFonts.poppins(
fontSize: 13,
fontWeight: FontWeight.w500,
letterSpacing: 1.2,
height: 1.4),
textAlign: TextAlign.justify,
),
),
);
}
}
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/appbar/appbar_home.dart';
import 'package:medapp_eksad/screen_small/small_contact/small_contact_us2.dart';
import 'package:medapp_eksad/screen/contact_us/contact_us2.dart';
import 'package:medapp_eksad/screen/footer.dart';
import 'package:medapp_eksad/screen/home/home1.dart';
import 'package:medapp_eksad/screen/home/home2.dart';
import 'package:medapp_eksad/screen/home/home3.dart';
import 'package:medapp_eksad/screen_small/small_footer.dart';
import 'package:medapp_eksad/screen_small/small_home/small_home1.dart';
import 'package:medapp_eksad/screen_small/small_home/small_home2.dart';
import 'package:medapp_eksad/screen_small/small_home/small_home3.dart';
import 'package:medapp_eksad/widget/drawer.dart';
import 'package:medapp_eksad/widget/responsive.dart';
import 'package:medapp_eksad/widget/whatsapp.dart';
......@@ -37,15 +42,26 @@ class _HomePageState extends State<HomePage> {
? AppBarKecil()
: AppbarHomeLarge(screenSize, context, Colors.blue, Colors.blue,
Colors.black, Colors.black, Colors.black),
drawer: DrawerMeddApp(),
body: ListView(
children: [
Home1(),
Home2(),
Home3(),
Footer(),
],
),
drawer: const DrawerMeddApp(),
body: ResponsiveWidget.isSmallScreen(context)
? ListView(
children: const [
SmallHome1(),
SmallHome2(),
SmallHome3(),
ContactUs2_small(),
FooterSmall(),
],
)
: ListView(
children: [
const Home1(),
const Home2(),
const Home3(),
ContactUs2(),
const Footer(),
],
),
);
}
......@@ -53,7 +69,7 @@ class _HomePageState extends State<HomePage> {
return AppBar(
leading: IconButton(
onPressed: () => _scaffoldKey.currentState!.openDrawer(),
icon: Icon(
icon: const Icon(
Icons.list_outlined,
size: 30,
color: Colors.black,
......@@ -61,12 +77,10 @@ class _HomePageState extends State<HomePage> {
),
backgroundColor: Colors.white,
centerTitle: true,
title: Container(
child: SizedBox(
height: 50,
width: 150,
child: Image.asset("assets/logo/medapp-logo.png"),
),
title: SizedBox(
height: 50,
width: 150,
child: Image.asset("assets/logo/medapp-logo.png"),
),
// ),
......
......@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget {
Container(
width: screenSize.width,
height: screenSize.height * 0.7,
decoration: BoxDecoration(
decoration: const BoxDecoration(
color: Colors.transparent,
image: DecorationImage(
image: AssetImage(
......@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget {
Colors.blue.withOpacity(0.0),
Colors.blue,
],
stops: [0.0, 1.0],
stops: const [0.0, 1.0],
),
),
),
......@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget {
width: screenSize.width,
height: screenSize.height * 0.6,
padding: EdgeInsets.only(
left: screenSize.width * 0.4, top: screenSize.height * 0.2),
left: screenSize.width * 0.4, top: screenSize.height * 0.12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
......
......@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox(width: 50,),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
......@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox(width: 50,),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
......@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox(width: 50,),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
......@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> {
],
),
),
SizedBox(width: 50,),
SizedBox(
width: screenSize.width * 0.2,
child: Column(
......
......@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
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/widget/responsive.dart';
import 'package:flutter/services.dart';
......@@ -35,8 +34,8 @@ class _SolutionsState extends State<Solutions> {
body: ListView(
children: [
OurSolution(),
OurSolution2(),
Footer()],
Footer()
],
),
);
}
......
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
class ContactUs1_small extends StatefulWidget {
const ContactUs1_small({Key? key}) : super(key: key);
......@@ -26,13 +27,12 @@ class _ContactUsState extends State<ContactUs1_small> {
fit: BoxFit.cover)),
),
Container(
width: screenSize.width * 0.5,
height: screenSize.height * 0.34,
padding: EdgeInsets.only(
right: screenSize.width * 0.30, left: screenSize.height * 0.06),
width: screenSize.width,
height: screenSize.height * 0.4,
padding: EdgeInsets.only(top: screenSize.height*0.07),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(
'Contact Us',
......@@ -40,7 +40,6 @@ class _ContactUsState extends State<ContactUs1_small> {
fontSize: 37,
fontWeight: FontWeight.bold,
color: Colors.white),
overflow: TextOverflow.ellipsis,
),
],
),
......
......@@ -6,9 +6,15 @@ import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:medapp_eksad/widget/button_color.dart';
class ContactUs2_small extends StatelessWidget {
ContactUs2_small({Key? key}) : super(key: key);
class ContactUs2_small extends StatefulWidget {
const ContactUs2_small({Key? key}) : super(key: key);
@override
State<ContactUs2_small> createState() => _ContactUs2_smallState();
}
class _ContactUs2_smallState extends State<ContactUs2_small> {
final _formKey = GlobalKey<FormState>();
final nameController = TextEditingController();
......@@ -20,7 +26,7 @@ class ContactUs2_small extends StatelessWidget {
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
height: screenSize.height * 1.5,
height: screenSize.height * 1.75,
width: screenSize.width,
padding: EdgeInsets.symmetric(horizontal: 15),
// color: Colors.blue,
......@@ -278,3 +284,5 @@ class ContactUs2_small extends StatelessWidget {
return response.statusCode;
}
}
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/widget/button_color.dart';
import 'package:show_up_animation/show_up_animation.dart';
class SmallHome1 extends StatelessWidget {
const SmallHome1({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Stack(
children: [
Container(
width: screenSize.width,
height: screenSize.height * 0.7,
decoration: const BoxDecoration(
color: Colors.transparent,
image: DecorationImage(
image: AssetImage(
"assets/logo/homepage.png",
),
fit: BoxFit.cover),
),
),
Container(
width: screenSize.width,
height: screenSize.height * 0.7,
decoration: BoxDecoration(
color: Colors.blue,
gradient: LinearGradient(
colors: [
Colors.blue.withOpacity(0.0),
Colors.blue,
],
stops: const [0.0, 1.0],
),
),
),
Container(
width: screenSize.width,
height: screenSize.height * 0.65,
padding: EdgeInsets.only(
left: screenSize.width * 0.4, top: screenSize.height * 0.05),
child: Column(
//crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Container(
width: screenSize.width * 0.5,
height: screenSize.height * 0.09,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
direction: Direction.horizontal,
child: Text(
'Engage With Your Patients More Efficiently',
textAlign: TextAlign.center,
style: GoogleFonts.poppins(
fontSize: 20,
fontWeight: FontWeight.bold,
color: Colors.white),
// overflow: TextOverflow.ellipsis,
),
),
),
Container(
// padding: EdgeInsets.only(top: 1),
width: screenSize.width * 0.47,
height: screenSize.height * 0.31,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.bounceIn,
direction: Direction.horizontal,
// offset: -0.2,
child: Text(
'Welcome to healthcare’s most powerful collaboration suite. '
'Enhance clinical workflows, speed decisions, and improve'
' patient outcomes, safely and securely.',
textAlign: TextAlign.center,
style: GoogleFonts.poppins(
fontSize: 15,
// letterSpacing: 1.3,
// height: 1.5,
fontWeight: FontWeight.bold,
color: Colors.white),
),
),
),
Container(
width: screenSize.width * 0.36,
height: screenSize.height * 0.1,
child: ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.bounceIn,
direction: Direction.horizontal,
offset: -0.2,
child: ElevatedButton(
onPressed: () {
Navigator.pushNamed(context, '/contact');
},
style: DefaultColors(),
child: const Text(
'TALK WITH EXPERT',
style: TextStyle(
fontSize: 16,
letterSpacing: 2,
color: Colors.white,
fontWeight: FontWeight.w500),
textAlign: TextAlign.center,
),
),
),
)
],
),
),
],
);
}
}
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/animation/kiri_kanan_small.dart';
import 'package:show_up_animation/show_up_animation.dart';
class SmallHome2 extends StatelessWidget {
const SmallHome2({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
width: screenSize.width * 0.5,
color: const Color.fromARGB(255, 227, 235, 253),
height: screenSize.height*2,
padding: EdgeInsets.only(
left: screenSize.width * 0.10,
right: screenSize.width * 0.10,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
SizedBox(height: 1,),
Container(
width: screenSize.width,
child: Text('How do we help ?',
style: GoogleFonts.poppins(
fontSize: 30,
color: const Color.fromARGB(255, 12, 66, 101),
fontWeight: FontWeight.bold)),
),
Container(
width: screenSize.width,
height: screenSize.height*0.35,
child: Text(
'We understand that the global healthcare industry is experiencing several challenges, thus requiring a company`s ability to respond to these challenges quickly and innovatively, '
'and seize opportunities that arise will be critical to ensuring the company`s sustainability in the future.',
textAlign: TextAlign.justify,
style: GoogleFonts.poppins(
fontSize: 15,
letterSpacing: 1.1,
height: 1.5,
fontWeight: FontWeight.w500)),
),
Column(
// mainAxisAlignment: MainAxisAlignment.start,
children: [
ShowUpAnimation(
delayStart: const Duration(seconds: 1),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: 'Costs are getting more expensive'),
),
ShowUpAnimation(
delayStart: const Duration(seconds: 2),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize,
titel: "Demographic Change",
),
),
ShowUpAnimation(
delayStart: const Duration(seconds: 3),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: "Rare talents"),
),
ShowUpAnimation(
delayStart: const Duration(seconds: 4),
curve: Curves.decelerate,
direction: Direction.horizontal,
child: list_help(
screenSize: screenSize,
titel: "Rapid technological Change",
),
),
ShowUpAnimation(
delayStart: const Duration(seconds: 5),
curve: Curves.decelerate,
direction: Direction.horizontal,
offset: -0.3,
child: list_help(
screenSize: screenSize,
titel: "Changes in consumer behavior"),
),
],
),
Container(
width: screenSize.width,
height: screenSize.height*0.4,
child: Text(
'Too much admin. Longer work hours. Less time spent with patients.'
'You’re not alone in the stress and frustration these cause. At MedApps, '
'our medical practice management software is designed to make your life easier,'
'not harder. Which means you can get on with doing what you do best, in ways that work best for you.',
textAlign: TextAlign.justify,
style: GoogleFonts.poppins(
fontSize: 15,
letterSpacing: 1.1,
height: 1.5,
fontWeight: FontWeight.w500)),
),
Container(
width: screenSize.width,
height: screenSize.height*0.4,
child: Text(
'MedApps combines practice management and clinical workflows into one seamless, modern interface. '
'Manage all patient interactions securely on the go, or in your practice.'
'Benefit from server-free* infrastructure, automatic upgrades and simple licensing.',
textAlign: TextAlign.justify,
style: GoogleFonts.poppins(
fontSize: 15,
letterSpacing: 1.1,
height: 1.5,
fontWeight: FontWeight.w500)),
),
],
),
);
}
}
class list_help extends StatelessWidget {
const list_help({Key? key, required this.screenSize, required this.titel})
: super(key: key);
final Size screenSize;
final String titel;
@override
Widget build(BuildContext context) {
return ListTile(
leading: const Icon(
Icons.circle_rounded,
size: 12,
color: Colors.black,
),
title: Container(
// padding: const EdgeInsets.only(left: 10),
// width: screenSize.width * 0.35,
// height: screenSize.height * 0.1,
child: Text(
titel,
style: GoogleFonts.poppins(
fontSize: 16,
height: 1.3,
),
textAlign: TextAlign.left,
),
));
}
}
This diff is collapsed.
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