mirrored_repositories/Ice-cream-app/lib/screens/home_screen
import 'package:flutter/material.dart';
import 'package:ice_cream/utils/size_config.dart';
import 'custom_card.dart';
import 'header.dart';

class Body extends StatelessWidget {
  const Body({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: EdgeInsets.all(getProportionateScreenWidth(15)),
      child: Column(
        children: [
          CustomHeader(),
          SingleChildScrollView(
            scrollDirection: Axis.horizontal,
            child: Row(
              children: const [
                CustomCard(
                  cardColor: Color(0xff80e6e7),
                  buttonColor: Color(0xffcaf8f8),
                  flavour: 'Cupid',
                  name: 'Sense',
                  price: '10',
                  desc:
                      'During a heat wave, the last thing we want a cold brew latte bar,on the other hand, is the type of pick-me-up we crave.',
                  image: 'assets/images/0.png',
                ),
                CustomCard(
                  cardColor: Color(0xfffccedd),
                  buttonColor: Color(0xffFEE3EC),
                  flavour: 'Pink',
                  name: 'Pallet',
                  price: '10',
                  desc:
                      'It\'s more of an acquired taste, but bitter orange ice cream is my favorite flavor ever! Delectable is a good word to use when you aren\'t quite sure how to describe the taste, but you just know you like it.',
                  image: 'assets/images/1.png',
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }
}
