mirrored_repositories/IndiaBeatsCovid/lib/views
import 'package:flutter/cupertino.dart';
import 'package:url_launcher/link.dart';

import '../../pkgs.dart';

class CrowdFunding extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final Store store = VxState.store;
    final verifiedIcon = Icon(
      CupertinoIcons.checkmark_seal_fill,
      color: store.isDarkTheme ? Vx.white : Vx.blue500,
      size: 16.0,
    );
    return ListView(
      shrinkWrap: true,
      children: [
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://hemkuntfoundation.com/donate-now/"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              trailing: verifiedIcon,
              title: [
                "Hemkunt Foundation".text.xl2.bold.make(),
                10.heightBox,
                VxBox().red400.size(context.percentWidth * 50, 5).rounded.make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse(
              "https://www.ketto.org/fundraiser/mission-oxygen-helping-hospitals-to-save-lives"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Mission Oxygen".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .blue400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://donate.indiacovidresources.in/"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "India Covid Resources - Donate".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .orange400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse(
              "https://fundraisers.giveindia.org/fundraisers/khaanachahiye-mumbai-is-battling-hunger-along-with-covid-19-again"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Khaana Chahiye".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .indigo400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse(
              "https://docs.google.com/document/d/1eiobgyrl8iz-R1Dz7c4R5pzzzkuZLBj99vaC7T_UeVo/preview?pru=AAABeSyRln8*PCmPgIgWReCQfUiK7xZ3BQ"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Fundraisers".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .rose400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://covid.giveindia.org/healthcare-heroes/"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Donate Life Saving Equipments".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .gray400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://goonj.org/donate/"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Help Migrant Workers".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .emerald400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://milaap.org/fundraisers/support-hbs-hospital"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Support the Frontline Workers".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .purple400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse(
              "https://www.ketto.org/fundraiser/DrinkingwaterforCOVIDpatientsmumbai?utm_source=MutualAidIndia"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Drinking Water For Covid Patients".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .pink400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse(
              "https://www.udayfoundation.org/coronavirus-disease-covid-19/"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Uday Foundation".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .lime400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://www.akshayapatra.org/covid-relief-services"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Akshaya Patra".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .lightBlue400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
        Link(
          target: LinkTarget.blank,
          uri: Uri.parse("https://www.impactguru.com/fundraiser/oxygen"),
          builder: (context, followLink) => Card(
            child: ListTile(
              contentPadding: Vx.m16,
              title: [
                "Oxygen Concetrators Donation".text.xl2.bold.make(),
                10.heightBox,
                VxBox()
                    .cyan400
                    .size(context.percentWidth * 50, 5)
                    .rounded
                    .make()
              ].vStack(crossAlignment: CrossAxisAlignment.start),
              trailing: verifiedIcon,
              onTap: followLink,
            ),
          ),
        ),
      ],
    );
  }
}
