content: import 'package:flutter/material.dart';
  import 'package:t_store/common/widgets/brands/brand_card.dart';
  import 'package:t_store/common/widgets/custom_shapes/containers/rounded_container.dart';
  import 'package:t_store/utils/constraints/colors.dart';
  import 'package:t_store/utils/constraints/sizes.dart';
  import 'package:t_store/utils/helpers/helper_functions.dart';
  
  class TBrandShowcase extends StatelessWidget {
    const TBrandShowcase({
      super.key,
      required this.images,
    });
  
    final List<String> images;
  
    @override
    Widget build(BuildContext context) {
      return TRoundedContainer(
        showBorder: true,
        borderColor: TColors.darkGrey,
        backgroundColor: Colors.transparent,
        padding: const EdgeInsets.all(TSizes.md),
        margin: const EdgeInsets.only(bottom: TSizes.spaceBtwItems),
        child: Column(
          children: [
            ///brand with products count
            const TBrandCard(showBorder: false),
            const SizedBox(height: TSizes.spaceBtwItems),
  
            ///brand top three product images
            Row(
                children: images
                    .map((image) => brandTopProductImageWidget(image, context))
                    .toList())
          ],
        ),
      );
    }
  
    Widget brandTopProductImageWidget(String image, context) {
      return Expanded(
        child: TRoundedContainer(
          height: 100,
          backgroundColor: THelperFunctions.isDarkMode(context)
              ? TColors.darkerGrey
              : TColors.light,
          margin: const EdgeInsets.only(right: TSizes.sm),
          padding: const EdgeInsets.all(TSizes.md),
          child:  Image(
              fit: BoxFit.contain, image: AssetImage(image)),
        ),
      );
    }
  }