|
@@ -5,6 +5,7 @@ class Product {
|
|
|
final int price, size, id;
|
|
|
final Color color;
|
|
|
bool status;
|
|
|
+
|
|
|
Product(
|
|
|
{this.id,
|
|
|
this.image,
|
|
@@ -16,7 +17,46 @@ class Product {
|
|
|
this.status});
|
|
|
}
|
|
|
|
|
|
-List<Product> products2 = [
|
|
|
+List<Product> productsguodi = [
|
|
|
+ Product(
|
|
|
+ id: 1,
|
|
|
+ title: "牛油菌汤锅",
|
|
|
+ price: 55,
|
|
|
+ size: 12,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/bag_1_1.png",
|
|
|
+ color: Color(0xFF3D82AE),
|
|
|
+ status: true),
|
|
|
+ Product(
|
|
|
+ id: 2,
|
|
|
+ title: "番茄清汤锅",
|
|
|
+ price: 34,
|
|
|
+ size: 8,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/bag_2_1.png",
|
|
|
+ color: Color(0xFFD3A984),
|
|
|
+ status: false),
|
|
|
+ Product(
|
|
|
+ id: 3,
|
|
|
+ title: "嫩羊肉卷",
|
|
|
+ price: 33,
|
|
|
+ size: 10,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/bag_3_1.png",
|
|
|
+ color: Color(0xFF989493),
|
|
|
+ status: true),
|
|
|
+ Product(
|
|
|
+ id: 4,
|
|
|
+ title: "菌汤牛油鸳鸯锅",
|
|
|
+ price: 24,
|
|
|
+ size: 11,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/bag_1_1.png",
|
|
|
+ color: Color(0xFFE6B398),
|
|
|
+ status: false),
|
|
|
+];
|
|
|
+
|
|
|
+List<Product> productshuncai = [
|
|
|
Product(
|
|
|
id: 1,
|
|
|
title: "小炒肉",
|
|
@@ -37,98 +77,168 @@ List<Product> products2 = [
|
|
|
status: false),
|
|
|
Product(
|
|
|
id: 3,
|
|
|
- title: "番茄炒蛋",
|
|
|
+ title: "牛排",
|
|
|
price: 16,
|
|
|
size: 10,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_1_1.png",
|
|
|
+ image: "assets/images/niupai.jpg",
|
|
|
color: Color(0xFF989493),
|
|
|
status: true),
|
|
|
Product(
|
|
|
id: 4,
|
|
|
- title: "鲜骨浓汤锅",
|
|
|
+ title: "猪脑花",
|
|
|
price: 34,
|
|
|
size: 11,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_2_1.png",
|
|
|
+ image: "assets/images/zhunaohua.jpg",
|
|
|
color: Color(0xFFE6B398),
|
|
|
status: false),
|
|
|
Product(
|
|
|
id: 5,
|
|
|
- title: "Office Code",
|
|
|
+ title: "脱骨鸭掌",
|
|
|
price: 24,
|
|
|
size: 12,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_2_1.png",
|
|
|
+ image: "assets/images/yazhang.jpg",
|
|
|
color: Color(0xFFFB7883),
|
|
|
status: true),
|
|
|
- Product(
|
|
|
- id: 6,
|
|
|
- title: "Office Code",
|
|
|
- price: 26,
|
|
|
- size: 12,
|
|
|
- description: dummyText,
|
|
|
- image: "assets/images/bag_6.png",
|
|
|
- color: Color(0xFFAEAEAE),
|
|
|
- status: true),
|
|
|
];
|
|
|
|
|
|
-List<Product> products = [
|
|
|
+List<Product> productssucai = [
|
|
|
Product(
|
|
|
id: 1,
|
|
|
- title: "牛油菌汤锅",
|
|
|
+ title: "娃娃菜",
|
|
|
price: 55,
|
|
|
size: 12,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_1_1.png",
|
|
|
+ image: "assets/images/wawacai.jpg",
|
|
|
color: Color(0xFF3D82AE),
|
|
|
status: true),
|
|
|
Product(
|
|
|
id: 2,
|
|
|
- title: "番茄清汤锅",
|
|
|
+ title: "蒿子菜",
|
|
|
price: 34,
|
|
|
size: 8,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_2_1.png",
|
|
|
+ image: "assets/images/gaozicai.jpg",
|
|
|
color: Color(0xFFD3A984),
|
|
|
status: false),
|
|
|
Product(
|
|
|
id: 3,
|
|
|
- title: "嫩羊肉卷",
|
|
|
+ title: "生菜",
|
|
|
price: 33,
|
|
|
size: 10,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_3_1.png",
|
|
|
+ image: "assets/images/shengcai.jpg",
|
|
|
color: Color(0xFF989493),
|
|
|
status: true),
|
|
|
Product(
|
|
|
id: 4,
|
|
|
- title: "菌汤牛油鸳鸯锅",
|
|
|
+ title: "土豆",
|
|
|
price: 24,
|
|
|
size: 11,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_1_1.png",
|
|
|
+ image: "assets/images/tudou.jpg",
|
|
|
color: Color(0xFFE6B398),
|
|
|
status: false),
|
|
|
Product(
|
|
|
id: 5,
|
|
|
- title: "Office Code",
|
|
|
+ title: "竹笋",
|
|
|
price: 24,
|
|
|
size: 12,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_2_1.png",
|
|
|
+ image: "assets/images/zhushun.jpg",
|
|
|
color: Color(0xFFFB7883),
|
|
|
status: true),
|
|
|
+];
|
|
|
+
|
|
|
+List<Product> productsZhushi = [
|
|
|
Product(
|
|
|
- id: 6,
|
|
|
- title: "Office Code",
|
|
|
+ id: 1,
|
|
|
+ title: "飞饼",
|
|
|
+ price: 55,
|
|
|
+ size: 12,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/feibing.jpg",
|
|
|
+ color: Color(0xFF3D82AE),
|
|
|
+ status: true),
|
|
|
+ Product(
|
|
|
+ id: 2,
|
|
|
+ title: "五香米饭",
|
|
|
+ price: 34,
|
|
|
+ size: 8,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/mifan.jpg",
|
|
|
+ color: Color(0xFFD3A984),
|
|
|
+ status: false),
|
|
|
+ Product(
|
|
|
+ id: 3,
|
|
|
+ title: "馒头",
|
|
|
+ price: 33,
|
|
|
+ size: 10,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/mantou.jpg",
|
|
|
+ color: Color(0xFF989493),
|
|
|
+ status: true),
|
|
|
+ Product(
|
|
|
+ id: 4,
|
|
|
+ title: "油条",
|
|
|
price: 24,
|
|
|
+ size: 11,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/youtiao.jpg",
|
|
|
+ color: Color(0xFFE6B398),
|
|
|
+ status: false),
|
|
|
+];
|
|
|
+
|
|
|
+List<Product> productsJiushui = [
|
|
|
+ Product(
|
|
|
+ id: 1,
|
|
|
+ title: "啤酒",
|
|
|
+ price: 55,
|
|
|
size: 12,
|
|
|
description: dummyText,
|
|
|
- image: "assets/images/bag_1_1.png",
|
|
|
- color: Color(0xFFAEAEAE),
|
|
|
+ image: "assets/images/pijiu.jpg",
|
|
|
+ color: Color(0xFF3D82AE),
|
|
|
status: true),
|
|
|
+ Product(
|
|
|
+ id: 2,
|
|
|
+ title: "果汁",
|
|
|
+ price: 34,
|
|
|
+ size: 8,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/guozi.jpg",
|
|
|
+ color: Color(0xFFD3A984),
|
|
|
+ status: false),
|
|
|
];
|
|
|
|
|
|
-String dummyText =
|
|
|
- "菜品很好吃,本店特色美食。";
|
|
|
+List<Product> productsTiaoliao = [
|
|
|
+ Product(
|
|
|
+ id: 1,
|
|
|
+ title: "提鲜调料",
|
|
|
+ price: 55,
|
|
|
+ size: 12,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/tixian.jpg",
|
|
|
+ color: Color(0xFF3D82AE),
|
|
|
+ status: true),
|
|
|
+ Product(
|
|
|
+ id: 2,
|
|
|
+ title: "海鲜调料",
|
|
|
+ price: 34,
|
|
|
+ size: 8,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/haixian.jpg",
|
|
|
+ color: Color(0xFFD3A984),
|
|
|
+ status: false),
|
|
|
+ Product(
|
|
|
+ id: 3,
|
|
|
+ title: "芝麻调料",
|
|
|
+ price: 33,
|
|
|
+ size: 10,
|
|
|
+ description: dummyText,
|
|
|
+ image: "assets/images/zhima.jpg",
|
|
|
+ color: Color(0xFF989493),
|
|
|
+ status: true),
|
|
|
+];
|
|
|
+String dummyText = "菜品很好吃,本店特色美食。";
|