shrine_data.dart 9.67 KB
Newer Older
1 2 3 4 5 6
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'shrine_types.dart';

7 8
const String _kGalleryAssetsPackage = 'flutter_gallery_assets';

9
const Vendor _ali = Vendor(
10
  name: 'Ali’s shop',
11
  avatarAsset: 'people/square/ali.png',
12
  avatarAssetPackage: _kGalleryAssetsPackage,
13 14 15 16 17 18
  description:
    'Ali Connor’s makes custom goods for folks of all shapes and sizes '
    'made by hand and sometimes by machine, but always with love and care. '
    'Custom orders are available upon request if you need something extra special.'
);

19
const Vendor _peter = Vendor(
20
  name: 'Peter’s shop',
21
  avatarAsset: 'people/square/peter.png',
22
  avatarAssetPackage: _kGalleryAssetsPackage,
23
  description:
24
    'Peter makes great stuff for awesome people like you. Super cool and extra '
25 26 27 28
    'awesome all of his shop’s goods are handmade with love. Custom orders are '
    'available upon request if you need something extra special.'
);

29
const Vendor _sandra = Vendor(
30
    name: 'Sandra’s shop',
31
    avatarAsset: 'people/square/sandra.png',
32 33 34 35 36 37
    avatarAssetPackage: _kGalleryAssetsPackage,
    description:
    'Sandra specializes in furniture, beauty and travel products with a classic vibe. '
        'Custom orders are available if you’re looking for a certain color or material.'
);

38
const Vendor _stella = Vendor(
39
  name: 'Stella’s shop',
40
  avatarAsset: 'people/square/stella.png',
41
  avatarAssetPackage: _kGalleryAssetsPackage,
42 43 44 45 46 47
  description:
    'Stella sells awesome stuff at lovely prices. made by hand and sometimes by '
    'machine, but always with love and care. Custom orders are available upon request '
    'if you need something extra special.'
);

48
const Vendor _trevor = Vendor(
49
    name: 'Trevor’s shop',
50
    avatarAsset: 'people/square/trevor.png',
51 52 53 54 55 56 57
    avatarAssetPackage: _kGalleryAssetsPackage,
    description:
    'Trevor makes great stuff for awesome people like you. Super cool and extra '
        'awesome all of his shop’s goods are handmade with love. Custom orders are '
        'available upon request if you need something extra special.'
);

58 59
const List<Product> _allProducts = <Product> [
  Product(
60
    name: 'Vintage Brown Belt',
61
    imageAsset: 'products/belt.png',
62
    imageAssetPackage: _kGalleryAssetsPackage,
63
    categories: <String>['fashion', 'latest'],
64 65 66
    price: 300.00,
    vendor: _sandra,
    description:
stevemessick's avatar
stevemessick committed
67
      'Isn’t it cool when things look old, but they\'re not. Looks Old But Not makes '
68
      'awesome vintage goods that are super smart. This ol’ belt just got an upgrade. '
69
  ),
70
  Product(
71
    name: 'Sunglasses',
72
    imageAsset: 'products/sunnies.png',
73
    imageAssetPackage: _kGalleryAssetsPackage,
74
    categories: <String>['travel', 'fashion', 'beauty'],
Hans Muller's avatar
Hans Muller committed
75
    price: 20.00,
76 77 78 79 80 81 82
    vendor: _trevor,
    description:
      'Be an optimist. Carry Sunglasses with you at all times. All Tints and '
      'Shades products come with polarized lenses and super duper UV protection '
      'so you can look at the sun for however long you want. Sunglasses make you '
      'look cool, wear them.'
  ),
83
  Product(
84
    name: 'Flatwear',
85
    imageAsset: 'products/flatwear.png',
86
    imageAssetPackage: _kGalleryAssetsPackage,
87
    categories: <String>['furniture'],
Hans Muller's avatar
Hans Muller committed
88
    price: 30.00,
89 90
    vendor: _trevor,
    description:
91
    'Leave the tunnel and the rain is fallin amazing things happen when you wait'
92
  ),
93
  Product(
94
    name: 'Salmon Sweater',
95
    imageAsset: 'products/sweater.png',
96
    imageAssetPackage: _kGalleryAssetsPackage,
97
    categories: <String>['fashion'],
98 99 100
    price: 300.00,
    vendor: _stella,
    description:
101 102 103
      'Looks can be deceiving. This sweater comes in a wide variety of '
      'flavors, including salmon, that pop as soon as they hit your eyes. '
      'Sweaters heat quickly, so savor the warmth.'
104
  ),
105
  Product(
106
    name: 'Pine Table',
107
    imageAsset: 'products/table.png',
108
    imageAssetPackage: _kGalleryAssetsPackage,
109
    categories: <String>['furniture'],
110 111 112 113 114
    price: 63.00,
    vendor: _stella,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
115
  Product(
116
    name: 'Green Comfort Jacket',
117
    imageAsset: 'products/jacket.png',
118
    imageAssetPackage: _kGalleryAssetsPackage,
119
    categories: <String>['fashion'],
120 121 122 123 124
    price: 36.00,
    vendor: _ali,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
125
  Product(
126
    name: 'Chambray Top',
127
    imageAsset: 'products/top.png',
128
    imageAssetPackage: _kGalleryAssetsPackage,
129
    categories: <String>['fashion'],
130 131 132 133 134
    price: 125.00,
    vendor: _peter,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
135
  Product(
136
    name: 'Blue Cup',
137
    imageAsset: 'products/cup.png',
138
    imageAssetPackage: _kGalleryAssetsPackage,
139
    categories: <String>['travel', 'furniture'],
140 141 142
    price: 75.00,
    vendor: _sandra,
    description:
143 144 145
      'Drinksy has been making extraordinary mugs for decades. With each '
      'cup purchased Drinksy donates a cup to those in need. Buy yourself a mug, '
      'buy someone else a mug.'
146
  ),
147
  Product(
148
    name: 'Tea Set',
149
    imageAsset: 'products/teaset.png',
150
    imageAssetPackage: _kGalleryAssetsPackage,
151
    categories: <String>['furniture', 'fashion'],
Hans Muller's avatar
Hans Muller committed
152
    price: 70.00,
153
    vendor: _trevor,
154
    featureTitle: 'Beautiful glass teapot',
155
    featureDescription:
156
      'Teapot holds extremely hot liquids and pours them from the spout.',
157
    description:
158 159
      'Impress your guests with Tea Set by Kitchen Stuff. Teapot holds extremely '
      'hot liquids and pours them from the spout. Use the handle, shown on the right, '
160 161
      'so your fingers don’t get burnt while pouring.'
  ),
162
  Product(
163
    name: 'Blue linen napkins',
164
    imageAsset: 'products/napkins.png',
165
    imageAssetPackage: _kGalleryAssetsPackage,
166
    categories: <String>['furniture', 'fashion'],
167 168 169
    price: 89.00,
    vendor: _trevor,
    description:
170 171
      'Blue linen napkins were meant to go with friends, so you may want to pick '
      'up a bunch of these. These things are absorbant.'
172
  ),
173
  Product(
174
    name: 'Dipped Earrings',
175
    imageAsset: 'products/earrings.png',
176
    imageAssetPackage: _kGalleryAssetsPackage,
177
    categories: <String>['fashion', 'beauty'],
178 179 180
    price: 25.00,
    vendor: _stella,
    description:
181 182 183
      'WeDipIt does it again. These hand-dipped 4 inch earrings are perfect for '
      'the office or the beach. Just be sure you don’t drop it in a bucket of '
      'red paint, then they won’t look dipped anymore.'
184
  ),
185
  Product(
186
    name: 'Perfect Planters',
187
    imageAsset: 'products/planters.png',
188
    imageAssetPackage: _kGalleryAssetsPackage,
189
    categories: <String>['latest', 'furniture'],
Hans Muller's avatar
Hans Muller committed
190
    price: 30.00,
191 192
    vendor: _ali,
    description:
193 194 195
      'The Perfect Planter Co makes the best vessels for just about anything you '
      'can pot. This set of Perfect Planters holds succulents and cuttings perfectly. '
      'Looks great in any room. Keep out of reach from cats.'
196
  ),
197
  Product(
198
    name: 'Cloud-White Dress',
199
    imageAsset: 'products/dress.png',
200
    imageAssetPackage: _kGalleryAssetsPackage,
201
    categories: <String>['fashion'],
Hans Muller's avatar
Hans Muller committed
202
    price: 54.00,
203 204
    vendor: _sandra,
    description:
205 206
      'Trying to find the perfect outift to match your mood? Try no longer. '
      'This Cloud-White Dress has you covered for those nights when you need '
207 208
      'to get out, or even if you’re just headed to work.'
  ),
209
  Product(
210
    name: 'Backpack',
211
    imageAsset: 'products/backpack.png',
212
    imageAssetPackage: _kGalleryAssetsPackage,
213
    categories: <String>['travel', 'fashion'],
214 215 216 217 218 219 220
    price: 25.00,
    vendor: _peter,
    description:
      'This backpack by Bags ‘n’ stuff can hold just about anything: a laptop, '
      'a pen, a protractor, notebooks, small animals, plugs for your devices, '
      'sunglasses, gym clothes, shoes, gloves, two kittens, and even lunch!'
  ),
221
  Product(
222
    name: 'Charcoal Straw Hat',
223
    imageAsset: 'products/hat.png',
224
    imageAssetPackage: _kGalleryAssetsPackage,
225
    categories: <String>['travel', 'fashion', 'latest'],
226 227 228
    price: 25.00,
    vendor: _ali,
    description:
229 230 231
      'This is the  helmet for those warm summer days on the road. '
      'Jetset approved, these hats have been rigorously tested. Keep that face '
      'protected from the sun.'
232
  ),
233
  Product(
234
    name: 'Ginger Scarf',
235
    imageAsset: 'products/scarf.png',
236
    imageAssetPackage: _kGalleryAssetsPackage,
237
    categories: <String>['latest', 'fashion'],
238 239 240
    price: 17.00,
    vendor: _peter,
    description:
241
    'Leave the tunnel and the rain is fallin amazing things happen when you wait'
242
  ),
243
  Product(
244
    name: 'Blush Sweats',
245
    imageAsset: 'products/sweats.png',
246
    imageAssetPackage: _kGalleryAssetsPackage,
247
    categories: <String>['travel', 'fashion', 'latest'],
248 249 250
    price: 25.00,
    vendor: _stella,
    description:
251
    'Leave the tunnel and the rain is fallin amazing things happen when you wait'
252
  ),
253
  Product(
254
    name: 'Mint Jumper',
255
    imageAsset: 'products/jumper.png',
256
    imageAssetPackage: _kGalleryAssetsPackage,
257
    categories: <String>['travel', 'fashion', 'beauty'],
258 259 260
    price: 25.00,
    vendor: _peter,
    description:
261
    'Leave the tunnel and the rain is fallin amazing things happen when you wait'
262
  ),
263
  Product(
264
    name: 'Ochre Shirt',
265
    imageAsset: 'products/shirt.png',
266
    imageAssetPackage: _kGalleryAssetsPackage,
267
    categories: <String>[ 'fashion', 'latest'],
Hans Muller's avatar
Hans Muller committed
268
    price: 120.00,
269 270
    vendor: _stella,
    description:
271
    'Leave the tunnel and the rain is fallin amazing things happen when you wait'
272 273 274 275 276 277 278
  )
];

List<Product> allProducts() {
  assert(_allProducts.every((Product product) => product.isValid()));
  return new List<Product>.unmodifiable(_allProducts);
}