40 lines
814 B
Dart
40 lines
814 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class Product {
|
|
final String image, title;
|
|
final int price;
|
|
final Color bgColor;
|
|
|
|
Product({
|
|
required this.image,
|
|
required this.title,
|
|
required this.price,
|
|
this.bgColor = const Color(0xFFEFEFF2),
|
|
});
|
|
}
|
|
|
|
List<Product> demoProduct = [
|
|
Product(
|
|
image: "assets/Product_2.webp",
|
|
title: "Long Sleeve Shirts",
|
|
price: 165,
|
|
bgColor: const Color(0xFFFEFBF9),
|
|
),
|
|
Product(
|
|
image: "assets/Product_1.webp",
|
|
title: "Casual Henley Shirts",
|
|
price: 99,
|
|
),
|
|
Product(
|
|
image: "assets/Product_2.webp",
|
|
title: "Curved Hem Shirts",
|
|
price: 180,
|
|
bgColor: const Color(0xFFF8FEFB),
|
|
),
|
|
Product(
|
|
image: "assets/Product_3.webp",
|
|
title: "Casual Nolin",
|
|
price: 149,
|
|
bgColor: const Color(0xFFEEEEED),
|
|
),
|
|
];
|