mirrored_repositories/Virtual-Vault/lib
import 'package:flutter/material.dart';

class DoctorTileBlue extends StatelessWidget {
  const DoctorTileBlue({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {},
      child: Container(
        padding: const EdgeInsets.all(20),
        height: MediaQuery.of(context).size.height / 6,
        width: MediaQuery.of(context).size.width / 2.2,
        decoration: BoxDecoration(
          color: Colors.blue,
          borderRadius: BorderRadius.circular(20),
        ),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            const Text(
              "Feeling lucky",
              style: TextStyle(
                  color: Colors.white,
                  fontSize: 20,
                  fontWeight: FontWeight.bold),
            ),
            const SizedBox(
              height: 5,
            ),
            Text(
              "I'm proud of how far I've come in my health journey",
              style:
                  TextStyle(color: Colors.white.withOpacity(.5), fontSize: 12),
            ),
          ],
        ),
      ),
    );
  }
}

class DoctorTileRed extends StatelessWidget {
  const DoctorTileRed({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {},
      child: Container(
        padding: const EdgeInsets.all(20),
        height: MediaQuery.of(context).size.height / 6,
        width: MediaQuery.of(context).size.width / 2.2,
        decoration: BoxDecoration(
          color: Colors.red,
          borderRadius: BorderRadius.circular(20),
        ),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            const Text(
              "Need a opinion",
              style: TextStyle(
                  color: Colors.white,
                  fontSize: 18,
                  fontWeight: FontWeight.bold),
            ),
            const SizedBox(
              height: 5,
            ),
            Text(
              "We will help you find the best care",
              style:
                  TextStyle(color: Colors.white.withOpacity(.5), fontSize: 12),
            ),
          ],
        ),
      ),
    );
  }
}
