Commit 3dc17278 authored by rizky ramadhan's avatar rizky ramadhan
parents 308bd1e6 ad7fc831
...@@ -18,9 +18,10 @@ class Home2 extends StatelessWidget { ...@@ -18,9 +18,10 @@ class Home2 extends StatelessWidget {
), ),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [ children: [
Spacer( Spacer(
flex: 2, flex: 1,
), ),
Container( Container(
width: screenSize.width, width: screenSize.width,
...@@ -30,7 +31,9 @@ class Home2 extends StatelessWidget { ...@@ -30,7 +31,9 @@ class Home2 extends StatelessWidget {
color: const Color.fromARGB(255, 12, 66, 101), color: const Color.fromARGB(255, 12, 66, 101),
fontWeight: FontWeight.bold)), fontWeight: FontWeight.bold)),
), ),
SizedBox(height: 10), Spacer(
flex: 1,
),
Container( Container(
width: screenSize.width, width: screenSize.width,
height: 100, height: 100,
...@@ -44,7 +47,9 @@ class Home2 extends StatelessWidget { ...@@ -44,7 +47,9 @@ class Home2 extends StatelessWidget {
height: 1.6, height: 1.6,
fontWeight: FontWeight.w500)), fontWeight: FontWeight.w500)),
), ),
SizedBox(height: 10), Spacer(
flex: 1,
),
Container( Container(
// padding: const EdgeInsets.only(left: 1), // padding: const EdgeInsets.only(left: 1),
// width: screenSize.width * 0.3, // width: screenSize.width * 0.3,
...@@ -74,7 +79,9 @@ class Home2 extends StatelessWidget { ...@@ -74,7 +79,9 @@ class Home2 extends StatelessWidget {
], ],
), ),
), ),
SizedBox(height: 30), Spacer(
flex: 1,
),
Container( Container(
width: screenSize.width, width: screenSize.width,
height: 100, height: 100,
...@@ -90,7 +97,9 @@ class Home2 extends StatelessWidget { ...@@ -90,7 +97,9 @@ class Home2 extends StatelessWidget {
height: 1.6, height: 1.6,
fontWeight: FontWeight.w500)), fontWeight: FontWeight.w500)),
), ),
SizedBox(height: 10), Spacer(
flex: 1,
),
Container( Container(
width: screenSize.width, width: screenSize.width,
height: 100, height: 100,
...@@ -105,6 +114,9 @@ class Home2 extends StatelessWidget { ...@@ -105,6 +114,9 @@ class Home2 extends StatelessWidget {
height: 1.6, height: 1.6,
fontWeight: FontWeight.w500)), fontWeight: FontWeight.w500)),
), ),
Spacer(
flex: 1,
),
], ],
), ),
); );
......
...@@ -23,7 +23,7 @@ class _Home3State extends State<Home3> { ...@@ -23,7 +23,7 @@ class _Home3State extends State<Home3> {
const SizedBox( const SizedBox(
height: 45, height: 45,
), ),
Text("Why MedApps ?", Text("Why MedApp ?",
style: GoogleFonts.poppins( style: GoogleFonts.poppins(
fontSize: 36, fontSize: 36,
color: const Color(0xff1e5ea8), color: const Color(0xff1e5ea8),
...@@ -339,7 +339,7 @@ class _Home3State extends State<Home3> { ...@@ -339,7 +339,7 @@ class _Home3State extends State<Home3> {
), ),
Container( Container(
padding: const EdgeInsets.only(top: 10), padding: const EdgeInsets.only(top: 10),
width: 220, width: 250,
height: screenSize.height * 0.3, height: screenSize.height * 0.3,
child: ShowUpAnimation( child: ShowUpAnimation(
delayStart: const Duration(seconds: 1), delayStart: const Duration(seconds: 1),
...@@ -348,9 +348,13 @@ class _Home3State extends State<Home3> { ...@@ -348,9 +348,13 @@ class _Home3State extends State<Home3> {
child: SizedBox( child: SizedBox(
height: screenSize.height * 0.42, height: screenSize.height * 0.42,
child: Text( child: Text(
'Online consultation (to be integrated with the current RSSC system), ' // 'Online consultation (to be integrated with the current RSSC system), '
'Emergency assistance to call ambulances and doctors, ' // 'Emergency assistance to call ambulances and doctors, '
'Rating by consumers for each service', // 'Rating by consumers for each service',
'Online consultation (via chat, telephone, or video call),'
'Emergency assistance to call ambulance and doctor,'
'The MedApp system is ready to be integrated with HIS,'
'The MedApp system has been integrated with the Mobile JKN (BPJS).',
style: GoogleFonts.poppins( style: GoogleFonts.poppins(
fontSize: 15, fontSize: 15,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
......
...@@ -43,6 +43,7 @@ class _SolutionsState extends State<Solutions> { ...@@ -43,6 +43,7 @@ class _SolutionsState extends State<Solutions> {
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
key: _scaffoldKey, key: _scaffoldKey,
floatingActionButton: WAChat(),
appBar: ResponsiveWidget.isSmallScreen(context) appBar: ResponsiveWidget.isSmallScreen(context)
? AppBarKecil() ? AppBarKecil()
: AppbarHomeLarge(screenSize, context, Colors.black, Colors.black, : AppbarHomeLarge(screenSize, context, Colors.black, Colors.black,
...@@ -73,7 +74,7 @@ class _SolutionsState extends State<Solutions> { ...@@ -73,7 +74,7 @@ class _SolutionsState extends State<Solutions> {
ElevatedButton ButtonSolution(BuildContext context) { ElevatedButton ButtonSolution(BuildContext context) {
return ElevatedButton( return ElevatedButton(
onPressed: () { onPressed: () {
_scrollToIndex(1500); _scrollToIndex(500);
}, },
style: DefaultColors(), style: DefaultColors(),
// ElevatedButton.styleFrom( // ElevatedButton.styleFrom(
......
...@@ -10,17 +10,17 @@ class DrawerMedApp extends StatelessWidget { ...@@ -10,17 +10,17 @@ class DrawerMedApp extends StatelessWidget {
// backgroundColor: Color.fromARGB(255, 76, 154, 231), // backgroundColor: Color.fromARGB(255, 76, 154, 231),
width: 200, width: 200,
child: Container( child: Container(
decoration: BoxDecoration( // decoration: BoxDecoration(
color: Colors.blue, // color: Colors.blue,
gradient: LinearGradient( // gradient: LinearGradient(
colors: [ // colors: [
Colors.blue, // Colors.blue,
Colors.blue.withOpacity(0.0), // Colors.blue.withOpacity(0.0),
//
], // ],
stops: [0.0, 1.0], // stops: [0.0, 1.0],
), // ),
), // ),
child: Column( child: Column(
children: [ children: [
const SizedBox(height: 50,), const SizedBox(height: 50,),
......
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