home3.dart 15.3 KB
Newer Older
r.manan@eksad.com's avatar
r.manan@eksad.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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 Home3 extends StatefulWidget {
  const Home3({Key? key}) : super(key: key);

  @override
  State<Home3> createState() => _Home3State();
}

class _Home3State extends State<Home3> {
  @override
  Widget build(BuildContext context) {
    var screenSize = MediaQuery.of(context).size;
r.manan@eksad.com's avatar
r.manan@eksad.com committed
18 19
    return SizedBox(
      height: screenSize.height * 1.75,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
20 21 22 23
      width: screenSize.width,
      child: Column(
        children: [
          const SizedBox(
Budi Prasetyo's avatar
Budi Prasetyo committed
24
            height: 40,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
25 26 27 28 29 30 31 32 33 34 35 36 37
          ),
          Text("Why MedApps ?",
              style: GoogleFonts.poppins(
                  fontSize: 36,
                  color: const Color(0xff1e5ea8),
                  fontWeight: FontWeight.bold)),
          const SizedBox(
            height: 40,
          ),
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
r.manan@eksad.com's avatar
r.manan@eksad.com committed
38
              SizedBox(
r.manan@eksad.com's avatar
r.manan@eksad.com committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why1.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'QUEUE SYSTEM',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                        padding: const EdgeInsets.only(top: 10),
                        width: 220,
                        height: screenSize.height * 0.55,
                        child: const Animasi_Kanan_Kiri(
                            judul:
r.manan@eksad.com's avatar
r.manan@eksad.com committed
78
                                'Simplify the process of getting queue numbers for various hospital services such as: '
r.manan@eksad.com's avatar
r.manan@eksad.com committed
79 80 81 82 83
                                'consulting with doctors, using hospital facilities (radiology, laboratories, etc.) and '
                                'purchasing drugs from pharmacies.'))
                  ],
                ),
              ),
Budi Prasetyo's avatar
Budi Prasetyo committed
84
              SizedBox(width: 50,),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
85
              SizedBox(
r.manan@eksad.com's avatar
r.manan@eksad.com committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why2.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'ENGAGEMENT TO PATIENTS WITH NOTIFICATIONS',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 10),
                      width: 220,
                      height: screenSize.height * 0.55,
                      child: const Animasi_Kanan_Kiri(
                          judul:
r.manan@eksad.com's avatar
r.manan@eksad.com committed
125
                              'Patients get notifications of queue movements so they can adjust their arrival schedule to the hospital. '
r.manan@eksad.com's avatar
r.manan@eksad.com committed
126 127 128 129 130 131
                              '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.'),
                    ),
                  ],
                ),
              ),
Budi Prasetyo's avatar
Budi Prasetyo committed
132
              SizedBox(width: 50,),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
133
              SizedBox(
r.manan@eksad.com's avatar
r.manan@eksad.com committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why3.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'SELF-REGISTRATION THROUGH MOBILE APPLICATION OR KIOSK',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                        padding: const EdgeInsets.only(top: 10),
                        width: 220,
                        height: screenSize.height * 0.55,
                        child: const Animasi_Kanan_Kiri(
                            judul:
r.manan@eksad.com's avatar
r.manan@eksad.com committed
173
                                'Patients can self-register through a mobile application or kiosk, '
r.manan@eksad.com's avatar
r.manan@eksad.com committed
174 175 176 177
                                'thereby reducing queues at the hospital.'))
                  ],
                ),
              ),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
178 179 180 181 182 183 184
            ],
          ),
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              SizedBox(
r.manan@eksad.com's avatar
r.manan@eksad.com committed
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why4.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'MULTI CHANNEL PAYMENT',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                        padding: const EdgeInsets.only(top: 10),
                        width: 220,
Budi Prasetyo's avatar
Budi Prasetyo committed
221
                        height: screenSize.height * 0.45,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
222 223 224 225
                        child: ShowUpAnimation(
                          delayStart: const Duration(seconds: 1),
                          curve: Curves.decelerate,
                          direction: Direction.horizontal,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
226
                          child: SizedBox(
r.manan@eksad.com's avatar
r.manan@eksad.com committed
227 228 229
                            height: screenSize.height * 0.42,
                            child: Text(
                              'Acceptance of payments can be done easily and flexibly with the availability of '
r.manan@eksad.com's avatar
r.manan@eksad.com committed
230 231 232 233 234 235 236 237 238 239 240 241 242
                              'online payment systems (credit cards, transfers, digital-wallet).',
                              style: GoogleFonts.poppins(
                                  fontSize: 15,
                                  fontWeight: FontWeight.w500,
                                  letterSpacing: 1.3,
                                  height: 1.4),
                              textAlign: TextAlign.center,
                            ),
                          ),
                        ))
                  ],
                ),
              ),
Budi Prasetyo's avatar
Budi Prasetyo committed
243
              SizedBox(width: 50,),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
              SizedBox(
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why4.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'DRUG DELIVERY',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                        padding: const EdgeInsets.only(top: 10),
                        width: 220,
Budi Prasetyo's avatar
Budi Prasetyo committed
281
                        height: screenSize.height * 0.45,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302
                        child: ShowUpAnimation(
                          delayStart: const Duration(seconds: 1),
                          curve: Curves.decelerate,
                          direction: Direction.horizontal,
                          child: SizedBox(
                            height: screenSize.height * 0.42,
                            child: Text(
                              'Drug delivery works in collaboration with goods delivery service providers '
                              'which are currently developing fast.',
                              style: GoogleFonts.poppins(
                                  fontSize: 15,
                                  fontWeight: FontWeight.w500,
                                  letterSpacing: 1.3,
                                  height: 1.4),
                              textAlign: TextAlign.center,
                            ),
                          ),
                        ))
                  ],
                ),
              ),
Budi Prasetyo's avatar
Budi Prasetyo committed
303
              SizedBox(width: 50,),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
              SizedBox(
                width: screenSize.width * 0.2,
                child: Column(
                  children: [
                    Container(
                        padding: EdgeInsets.only(top: screenSize.height * 0.01),
                        width: screenSize.width * 0.5,
                        child: Animasi_Kiri_Kanan(
                            screenSize: screenSize,
                            widget: Image.asset(
                              'assets/icons/why4.png',
                              height: 60,
                              width: 60,
                            ))),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                      padding: const EdgeInsets.only(top: 5),
                      width: 250,
                      height: 75,
                      child: const Text(
                        'OTHER FEATURES',
                        style: TextStyle(
                            color: Colors.blueAccent,
                            fontSize: 17,
                            letterSpacing: 1.1,
                            fontWeight: FontWeight.w600),
                        textAlign: TextAlign.center,
                      ),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    Container(
                        padding: const EdgeInsets.only(top: 10),
                        width: 220,
Budi Prasetyo's avatar
Budi Prasetyo committed
341
                        height: screenSize.height * 0.45,
r.manan@eksad.com's avatar
r.manan@eksad.com committed
342 343 344 345 346 347 348 349 350 351
                        child: ShowUpAnimation(
                          delayStart: const Duration(seconds: 1),
                          curve: Curves.decelerate,
                          direction: Direction.horizontal,
                          child: SizedBox(
                            height: screenSize.height * 0.42,
                            child: Text(
                              'Online consultation (to be integrated with the current RSSC system), '
                              'Emergency assistance to call ambulances and doctors, '
                              'Rating by consumers for each service',
r.manan@eksad.com's avatar
r.manan@eksad.com committed
352 353 354 355 356 357 358 359
                              style: GoogleFonts.poppins(
                                  fontSize: 15,
                                  fontWeight: FontWeight.w500,
                                  letterSpacing: 1.3,
                                  height: 1.4),
                              textAlign: TextAlign.center,
                            ),
                          ),
r.manan@eksad.com's avatar
r.manan@eksad.com committed
360
                        ))
r.manan@eksad.com's avatar
r.manan@eksad.com committed
361 362 363 364 365 366 367 368 369 370
                  ],
                ),
              ),
            ],
          ),
        ],
      ),
    );
  }
}