Commit 5ec0e1aa authored by Budi Prasetyo's avatar Budi Prasetyo

small versi

parent 0f61d53f
......@@ -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: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';
......@@ -41,12 +45,12 @@ class _HomePageState extends State<HomePage> {
drawer: const DrawerMeddApp(),
body: ResponsiveWidget.isSmallScreen(context)
? ListView(
children: [
const Home1(),
const Home2(),
const Home3(),
ContactUs2(),
const FooterSmall(),
children: const [
SmallHome1(),
SmallHome2(),
SmallHome3(),
ContactUs2_small(),
FooterSmall(),
],
)
: ListView(
......
......@@ -32,7 +32,10 @@ class _SolutionsState extends State<Solutions> {
: AppbarHomeLarge(screenSize, context, Colors.black, Colors.black,
Colors.blue, Colors.black, Colors.black),
body: ListView(
children: [OurSolution(), Footer()],
children: [
OurSolution(),
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';
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: [
Animasi_Kiri_Kanan_Small(
screenSize: screenSize,
widget: list_help(
screenSize: screenSize,
titel: 'Costs are getting more expensive'),),
list_help(
screenSize: screenSize,
titel: "Demographic Change",
),
list_help(
screenSize: screenSize,
titel: "Rare talents",
),
list_help(
screenSize: screenSize,
titel: "Rapid technological change",
),
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,
),
));
}
}
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/animation/animasi_kanan_kiri.dart';
import 'package:medapp_eksad/animation/animasi_kiri_kanan.dart';
import 'package:show_up_animation/show_up_animation.dart';
class SmallHome3 extends StatefulWidget {
const SmallHome3({Key? key}) : super(key: key);
@override
State<SmallHome3> createState() => _SmallHome3State();
}
class _SmallHome3State extends State<SmallHome3> {
@override
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return Container(
padding: EdgeInsets.symmetric(horizontal: 15),
height: screenSize.height * 2.6,
width: screenSize.width,
child: Column(
children: [
const SizedBox(
height: 40,
),
Text("Why MedApps ?",
style: GoogleFonts.poppins(
fontSize: 36,
color: const Color(0xff1e5ea8),
fontWeight: FontWeight.bold)),
const SizedBox(
height: 20,
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.45,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.65,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why1.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 20,
child: const Text(
'QUEUE SYSTEM',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.65,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Simplify the process of getting queue numbers for various hospital services such as: '
'consulting with doctors, using hospital facilities (radiology, laboratories, etc.) and '
'purchasing drugs from pharmacies.'))
],
),
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.45,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.65,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why2.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 70,
child: const Text(
'ENGAGEMENT TO PATIENTS WITH NOTIFICATIONS',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.65,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Patients get \nnotifications of queue movements so they can adjust their arrival schedule to the hospital. '
'Arrivals close to this service time will have an impact on reducing the crowd of people queuing at the hospital. '
'Queue information is integrated with the queue display panel in the hospital.'))
],
),
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.45,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.65,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why3.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 70,
child: const Text(
'SELF-REGISTRATION THROUGH MOBILE APPLICATION OR KIOSK',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.65,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Patients can self-register through a mobile application or kiosk, '
'thereby reducing queues at the hospital.'))
],
),
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.35,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.65,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why4.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 60,
child: const Text(
'MULTI CHANNEL PAYMENT',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.65,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Acceptance of payments can be done easily and flexibly with the availability of '
'online payment systems (credit cards, transfers, digital-wallet).'))
],
),
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.35,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.55,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why4.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 40,
child: const Text(
'DRUG DELIVERY',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.55,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Drug delivery works in collaboration with goods delivery service providers '
'which are currently developing fast.',))
],
),
),
SizedBox(
width: screenSize.width,
height: screenSize.height * 0.35,
child: Row(
children: [
Container(
width: screenSize.width*0.4,
height: screenSize.height * 0.45,
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: [
Container(
width: screenSize.width * 0.4,
child: Animasi_Kiri_Kanan(
screenSize: screenSize,
widget: Image.asset(
'assets/icons/why4.png',
height: 60,
width: 60,
))),
SizedBox(height: 20,),
Container(
padding: EdgeInsets.symmetric(horizontal: 10),
width: 200,
height: 70,
child: const Text(
'OTHER FEATURES',
style: TextStyle(
color: Colors.blueAccent,
fontSize: 15,
letterSpacing: 1.1,
fontWeight: FontWeight.w600),
textAlign: TextAlign.center,
),
),
],
),
),
Container(
width: screenSize.width*0.5,
height: screenSize.height * 0.45,
child: const Animasi_Kanan_Kiri_Justify(
judul:
'Online consultation (to be integrated with the current RSSC system), '
'Emergency assistance to call ambulances and doctors, '
'Rating by consumers for each service',))
],
),
),
],
),
);
}
}
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