// import 'package:flutter/material.dart'; // import 'product_card/product_card.dart'; // import 'package:initial_folder/models/Product.dart'; // import '../../../../size_config.dart'; // import 'section_title.dart'; // class Recommendation extends StatelessWidget { // @override // Widget build(BuildContext context) { // return Column( // children: [ // Padding( // padding: // EdgeInsets.symmetric(horizontal: getProportionateScreenWidth(20)), // child: SectionTitle(title: "Rekomendasi Khusus", press: () {}), // ), // SizedBox(height: 10), // SingleChildScrollView( // scrollDirection: Axis.horizontal, // child: Row( // crossAxisAlignment: CrossAxisAlignment.start, // children: [ // ...List.generate( // demoProducts.length, // (index) { // if (demoProducts[index].isPopular) // return ProductCard(product: demoProducts[index]); // return SizedBox // .shrink(); // here by default width and height is 0 // }, // ), // SizedBox(width: getProportionateScreenWidth(200)), // ], // ), // ) // ], // ); // } // }