mirrored_repositories/flutter-ecommerce-app/lib/screen/details
import 'package:flutter/material.dart';

Container showImageView(BuildContext context, product) {
  var screenSize = MediaQuery.of(context).size;
  var screenHeight = (screenSize.height);
  return Container(
    padding: const EdgeInsets.all(20),
    color: product.color,
    child: Image.asset(
      product.image,
      alignment: Alignment.centerRight,
      height: screenHeight * 50,
    ),
  );
}
