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 { ...@@ -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:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:medapp_eksad/appbar/appbar_home.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/footer.dart';
import 'package:medapp_eksad/screen/home/home1.dart'; import 'package:medapp_eksad/screen/home/home1.dart';
import 'package:medapp_eksad/screen/home/home2.dart'; import 'package:medapp_eksad/screen/home/home2.dart';
import 'package:medapp_eksad/screen/home/home3.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/drawer.dart';
import 'package:medapp_eksad/widget/responsive.dart'; import 'package:medapp_eksad/widget/responsive.dart';
import 'package:medapp_eksad/widget/whatsapp.dart'; import 'package:medapp_eksad/widget/whatsapp.dart';
...@@ -37,13 +42,24 @@ class _HomePageState extends State<HomePage> { ...@@ -37,13 +42,24 @@ class _HomePageState extends State<HomePage> {
? AppBarKecil() ? AppBarKecil()
: AppbarHomeLarge(screenSize, context, Colors.blue, Colors.blue, : AppbarHomeLarge(screenSize, context, Colors.blue, Colors.blue,
Colors.black, Colors.black, Colors.black), Colors.black, Colors.black, Colors.black),
drawer: DrawerMeddApp(), drawer: const DrawerMeddApp(),
body: ListView( body: ResponsiveWidget.isSmallScreen(context)
? ListView(
children: const [
SmallHome1(),
SmallHome2(),
SmallHome3(),
ContactUs2_small(),
FooterSmall(),
],
)
: ListView(
children: [ children: [
Home1(), const Home1(),
Home2(), const Home2(),
Home3(), const Home3(),
Footer(), ContactUs2(),
const Footer(),
], ],
), ),
); );
...@@ -53,7 +69,7 @@ class _HomePageState extends State<HomePage> { ...@@ -53,7 +69,7 @@ class _HomePageState extends State<HomePage> {
return AppBar( return AppBar(
leading: IconButton( leading: IconButton(
onPressed: () => _scaffoldKey.currentState!.openDrawer(), onPressed: () => _scaffoldKey.currentState!.openDrawer(),
icon: Icon( icon: const Icon(
Icons.list_outlined, Icons.list_outlined,
size: 30, size: 30,
color: Colors.black, color: Colors.black,
...@@ -61,13 +77,11 @@ class _HomePageState extends State<HomePage> { ...@@ -61,13 +77,11 @@ class _HomePageState extends State<HomePage> {
), ),
backgroundColor: Colors.white, backgroundColor: Colors.white,
centerTitle: true, centerTitle: true,
title: Container( title: SizedBox(
child: SizedBox(
height: 50, height: 50,
width: 150, width: 150,
child: Image.asset("assets/logo/medapp-logo.png"), child: Image.asset("assets/logo/medapp-logo.png"),
), ),
),
// ), // ),
); );
......
...@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget { ...@@ -16,7 +16,7 @@ class Home1 extends StatelessWidget {
Container( Container(
width: screenSize.width, width: screenSize.width,
height: screenSize.height * 0.7, height: screenSize.height * 0.7,
decoration: BoxDecoration( decoration: const BoxDecoration(
color: Colors.transparent, color: Colors.transparent,
image: DecorationImage( image: DecorationImage(
image: AssetImage( image: AssetImage(
...@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget { ...@@ -35,7 +35,7 @@ class Home1 extends StatelessWidget {
Colors.blue.withOpacity(0.0), Colors.blue.withOpacity(0.0),
Colors.blue, Colors.blue,
], ],
stops: [0.0, 1.0], stops: const [0.0, 1.0],
), ),
), ),
), ),
...@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget { ...@@ -44,7 +44,7 @@ class Home1 extends StatelessWidget {
width: screenSize.width, width: screenSize.width,
height: screenSize.height * 0.6, height: screenSize.height * 0.6,
padding: EdgeInsets.only( 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( child: Column(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment: MainAxisAlignment.spaceEvenly,
......
...@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> { ...@@ -81,6 +81,7 @@ class _Home3State extends State<Home3> {
], ],
), ),
), ),
SizedBox(width: 50,),
SizedBox( SizedBox(
width: screenSize.width * 0.2, width: screenSize.width * 0.2,
child: Column( child: Column(
...@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> { ...@@ -128,6 +129,7 @@ class _Home3State extends State<Home3> {
], ],
), ),
), ),
SizedBox(width: 50,),
SizedBox( SizedBox(
width: screenSize.width * 0.2, width: screenSize.width * 0.2,
child: Column( child: Column(
...@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> { ...@@ -238,6 +240,7 @@ class _Home3State extends State<Home3> {
], ],
), ),
), ),
SizedBox(width: 50,),
SizedBox( SizedBox(
width: screenSize.width * 0.2, width: screenSize.width * 0.2,
child: Column( child: Column(
...@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> { ...@@ -297,6 +300,7 @@ class _Home3State extends State<Home3> {
], ],
), ),
), ),
SizedBox(width: 50,),
SizedBox( SizedBox(
width: screenSize.width * 0.2, width: screenSize.width * 0.2,
child: Column( child: Column(
......
...@@ -2,7 +2,6 @@ import 'package:flutter/material.dart'; ...@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:medapp_eksad/appbar/appbar_home.dart'; 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/widget/responsive.dart'; import 'package:medapp_eksad/widget/responsive.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
...@@ -35,8 +34,8 @@ class _SolutionsState extends State<Solutions> { ...@@ -35,8 +34,8 @@ class _SolutionsState extends State<Solutions> {
body: ListView( body: ListView(
children: [ children: [
OurSolution(), OurSolution(),
OurSolution2(), Footer()
Footer()], ],
), ),
); );
} }
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart'; import 'package:google_fonts/google_fonts.dart';
class ContactUs1_small extends StatefulWidget { class ContactUs1_small extends StatefulWidget {
const ContactUs1_small({Key? key}) : super(key: key); const ContactUs1_small({Key? key}) : super(key: key);
...@@ -26,13 +27,12 @@ class _ContactUsState extends State<ContactUs1_small> { ...@@ -26,13 +27,12 @@ class _ContactUsState extends State<ContactUs1_small> {
fit: BoxFit.cover)), fit: BoxFit.cover)),
), ),
Container( Container(
width: screenSize.width * 0.5, width: screenSize.width,
height: screenSize.height * 0.34, height: screenSize.height * 0.4,
padding: EdgeInsets.only( padding: EdgeInsets.only(top: screenSize.height*0.07),
right: screenSize.width * 0.30, left: screenSize.height * 0.06),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Text( Text(
'Contact Us', 'Contact Us',
...@@ -40,7 +40,6 @@ class _ContactUsState extends State<ContactUs1_small> { ...@@ -40,7 +40,6 @@ class _ContactUsState extends State<ContactUs1_small> {
fontSize: 37, fontSize: 37,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
color: Colors.white), color: Colors.white),
overflow: TextOverflow.ellipsis,
), ),
], ],
), ),
......
...@@ -6,9 +6,15 @@ import 'dart:convert'; ...@@ -6,9 +6,15 @@ import 'dart:convert';
import 'package:http/http.dart' as http; import 'package:http/http.dart' as http;
import 'package:medapp_eksad/widget/button_color.dart'; 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 _formKey = GlobalKey<FormState>();
final nameController = TextEditingController(); final nameController = TextEditingController();
...@@ -20,7 +26,7 @@ class ContactUs2_small extends StatelessWidget { ...@@ -20,7 +26,7 @@ class ContactUs2_small extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Container( return Container(
height: screenSize.height * 1.5, height: screenSize.height * 1.75,
width: screenSize.width, width: screenSize.width,
padding: EdgeInsets.symmetric(horizontal: 15), padding: EdgeInsets.symmetric(horizontal: 15),
// color: Colors.blue, // color: Colors.blue,
...@@ -278,3 +284,5 @@ class ContactUs2_small extends StatelessWidget { ...@@ -278,3 +284,5 @@ class ContactUs2_small extends StatelessWidget {
return response.statusCode; 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