home2.dart 5.03 KB
Newer Older
rizky ramadhan's avatar
rizky ramadhan committed
1 2 3 4 5 6 7 8 9 10 11 12 13
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class Home2 extends StatelessWidget {
  const Home2({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),
Budi Prasetyo's avatar
Budi Prasetyo committed
14
      height: screenSize.height * 1.1,
rizky ramadhan's avatar
rizky ramadhan committed
15 16 17 18 19 20 21 22
      padding: EdgeInsets.only(
        left: screenSize.width * 0.10,
        right: screenSize.width * 0.10,
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Spacer(
23
            flex: 2,
rizky ramadhan's avatar
rizky ramadhan committed
24 25 26
          ),
          Container(
            width: screenSize.width,
Budi Prasetyo's avatar
Budi Prasetyo committed
27
            child: Text('MedApp Background',
rizky ramadhan's avatar
rizky ramadhan committed
28
                style: GoogleFonts.poppins(
29
                    fontSize: 35,
rizky ramadhan's avatar
rizky ramadhan committed
30 31 32
                    color: const Color.fromARGB(255, 12, 66, 101),
                    fontWeight: FontWeight.bold)),
          ),
33
          SizedBox(height: 10),
rizky ramadhan's avatar
rizky ramadhan committed
34 35
          Container(
            width: screenSize.width,
36
            height: 100,
rizky ramadhan's avatar
rizky ramadhan committed
37 38 39 40 41
            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(
Budi Prasetyo's avatar
Budi Prasetyo committed
42
                    fontSize: 16,
rizky ramadhan's avatar
rizky ramadhan committed
43
                    letterSpacing: 1.1,
Budi Prasetyo's avatar
Budi Prasetyo committed
44
                    height: 1.6,
rizky ramadhan's avatar
rizky ramadhan committed
45 46
                    fontWeight: FontWeight.w500)),
          ),
47 48 49 50 51 52 53 54 55 56 57 58
          SizedBox(height: 10),
          Container(
            // padding: const EdgeInsets.only(left: 1),
            // width: screenSize.width * 0.3,
            // height: screenSize.height * 0.35,
            child: Column(
              // mainAxisAlignment: MainAxisAlignment.start,
              children: [
                list_help(
                    screenSize: screenSize,
                    titel: 'Costs are getting more expensive'),
                list_help(
rizky ramadhan's avatar
rizky ramadhan committed
59
                  screenSize: screenSize,
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
                  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",
                ),
              ],
            ),
76
          ),
77
          SizedBox(height: 30),
rizky ramadhan's avatar
rizky ramadhan committed
78 79
          Container(
            width: screenSize.width,
80
            height: 100,
rizky ramadhan's avatar
rizky ramadhan committed
81 82 83 84 85 86 87
            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(
Budi Prasetyo's avatar
Budi Prasetyo committed
88
                    fontSize: 16,
rizky ramadhan's avatar
rizky ramadhan committed
89
                    letterSpacing: 1.1,
Budi Prasetyo's avatar
Budi Prasetyo committed
90
                    height: 1.6,
rizky ramadhan's avatar
rizky ramadhan committed
91 92
                    fontWeight: FontWeight.w500)),
          ),
93
          SizedBox(height: 10),
rizky ramadhan's avatar
rizky ramadhan committed
94 95
          Container(
            width: screenSize.width,
96
            height: 100,
rizky ramadhan's avatar
rizky ramadhan committed
97 98 99
            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.'
100
                ' Benefit from server-free* infrastructure, automatic upgrades and simple licensing.',
rizky ramadhan's avatar
rizky ramadhan committed
101 102
                textAlign: TextAlign.justify,
                style: GoogleFonts.poppins(
Budi Prasetyo's avatar
Budi Prasetyo committed
103
                    fontSize: 16,
rizky ramadhan's avatar
rizky ramadhan committed
104
                    letterSpacing: 1.1,
Budi Prasetyo's avatar
Budi Prasetyo committed
105
                    height: 1.6,
rizky ramadhan's avatar
rizky ramadhan committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
                    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(
rizky ramadhan's avatar
rizky ramadhan committed
124
        visualDensity: VisualDensity(vertical: -4),
rizky ramadhan's avatar
rizky ramadhan committed
125 126 127 128 129 130 131
        leading: const Icon(
          Icons.circle_rounded,
          size: 12,
          color: Colors.black,
        ),
        title: Container(
          // padding: const EdgeInsets.only(left: 10),
132
          width: screenSize.width * 2,
rizky ramadhan's avatar
rizky ramadhan committed
133 134 135 136 137 138 139 140 141 142 143 144
          // height: screenSize.height * 0.1,
          child: Text(
            titel,
            style: GoogleFonts.poppins(
              fontSize: 18,
              height: 1.3,
            ),
            textAlign: TextAlign.left,
          ),
        ));
  }
}