mirrored_repositories/ECommerce-Products-Flutter/lib/presentation/screen/products
import 'package:e_commers/data/env/env.dart';
import 'package:flutter/material.dart';

class CoverProduct extends StatelessWidget {

  final String imageProduct;
  final String uidProduct;

  const CoverProduct({required this.uidProduct, required this.imageProduct});

  @override
  Widget build(BuildContext context) {
    return Hero(
      tag: '$uidProduct',
      child: Container(
        height: 250,
        width: MediaQuery.of(context).size.width,
        child: Image.network(Environment.baseUrl+ imageProduct),
      ),
    );
  }
}