shrine_data.dart 10.5 KB
Newer Older
1 2 3 4 5 6 7 8
// 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';

const Vendor _ali = const Vendor(
  name: 'Ali’s shop',
9
  avatarAsset: 'packages/flutter_gallery_assets/shrine/vendors/ali-connors.png',
10 11 12 13 14 15 16 17
  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.'
);

const Vendor _sandra = const Vendor(
  name: 'Sandra’s shop',
18
  avatarAsset: 'packages/flutter_gallery_assets/shrine/vendors/sandra-adams.jpg',
19 20 21 22 23 24 25
  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.'
);

const Vendor _trevor = const Vendor(
  name: 'Trevor’s shop',
26
  avatarAsset: 'packages/flutter_gallery_assets/shrine/vendors/zach.jpg',
27 28 29 30 31 32 33 34
  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.'
);

const Vendor _peter = const Vendor(
  name: 'Peter’s shop',
35
  avatarAsset: 'packages/flutter_gallery_assets/shrine/vendors/peter-carlsson.png',
36 37 38 39 40 41 42 43
  description:
    'Peter 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.'
);

const Vendor _stella = const Vendor(
  name: 'Stella’s shop',
44
  avatarAsset: 'packages/flutter_gallery_assets/shrine/vendors/16c477b.jpg',
45 46 47 48 49 50 51 52 53
  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.'
);

const List<Product> _allProducts = const <Product> [
  const Product(
    name: 'Vintage Bluetooth Radio',
54
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/radio.png',
55 56 57 58
    categories: const <String>['furniture', 'latest'],
    price: 300.00,
    vendor: _sandra,
    description:
stevemessick's avatar
stevemessick committed
59
      'Isn’t it cool when things look old, but they\'re not. Looks Old But Not makes '
60 61 62 63 64
      'awesome vintage goods that are super smart. This ol’ radio just got an upgrade. '
      'Connect to it with an app and jam out to some top forty.'
  ),
  const Product(
    name: 'Sunglasses',
65
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/sunnies.png',
66
    categories: const <String>['travel', 'fashion', 'beauty'],
Hans Muller's avatar
Hans Muller committed
67
    price: 20.00,
68 69 70 71 72 73 74 75 76
    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.'
  ),
  const Product(
    name: 'Clock',
77
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/clock.png',
78
    categories: const <String>['furniture'],
Hans Muller's avatar
Hans Muller committed
79
    price: 30.00,
80 81 82 83 84 85 86 87
    vendor: _trevor,
    description:
      'Timekeeper Co makes clocks that tell time precisely. Clock is '
      'very simple to use, set the time using your phone, hang it, and viola! '
      'You’ll never be late again.'
  ),
  const Product(
    name: 'Red popsicle',
88
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/popsicle.png',
89 90 91 92 93 94 95 96 97 98
    categories: const <String>['food', 'fashion'],
    price: 300.00,
    vendor: _stella,
    description:
      'Looks can be deceiving. This red popsicle comes in a wide variety of '
      'flavors, including strawberry, that burst as soon as they hit your mouth. '
      'Red popsicles melt slowly, so savor the flavor.'
  ),
  const Product(
    name: 'Folding Chair',
99
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/lawn_chair.png',
100 101 102 103 104 105 106 107
    categories: const <String>['furniture'],
    price: 63.00,
    vendor: _stella,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
  const Product(
    name: 'Green comfort chair',
108
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/chair.png',
109 110 111 112 113 114 115 116
    categories: const <String>['furniture'],
    price: 36.00,
    vendor: _ali,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
  const Product(
    name: 'Better wearing heels',
117
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/heels.png',
118 119 120 121 122 123 124 125
    categories: const <String>['fashion'],
    price: 125.00,
    vendor: _peter,
    description:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait'
  ),
  const Product(
    name: 'Green Slip-ons',
126
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/green-shoes.png',
127 128 129 130 131 132 133 134 135 136
    categories: const <String>['travel', 'fashion'],
    price: 75.00,
    vendor: _sandra,
    description:
      'Feetsy has been making extraordinary slip-ons for decades. With each pair '
      'of shoes purchased Feetsy donates a pair to those in need. Buy yourself a pair, '
      'buy someone else a pair. Very Comfortable.'
  ),
  const Product(
    name: 'Teapot',
137
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/teapot.png',
138
    categories: const <String>['furniture', 'fashion'],
Hans Muller's avatar
Hans Muller committed
139
    price: 70.00,
140 141 142 143 144 145 146 147 148 149 150
    vendor: _trevor,
    featureTitle: 'Beautiful little teapot',
    featureDescription:
      'Leave the tunnel and the rain is fallin amazing things happen when you wait',
    description:
      'Impress your guests with Teapot by Kitchen Stuff. Teapot holds extremely '
      'hot liquids and pours them from the spout. Use the handle, shown on the left, '
      'so your fingers don’t get burnt while pouring.'
  ),
  const Product(
    name: 'Blue suede shoes',
151
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/chucks.png',
152 153 154 155 156 157 158 159 160
    categories: const <String>['travel', 'fashion'],
    price: 89.00,
    vendor: _trevor,
    description:
      'Who needs pants when you have shoes! Blue suede shoes were meant to go '
      'dancing in, so you may want to pick up a few of these. These things are stylish.'
  ),
  const Product(
    name: 'Dipped Brush',
161
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/brush.png',
162 163 164 165 166 167 168 169 170 171
    categories: const <String>['fashion', 'beauty'],
    price: 25.00,
    vendor: _stella,
    description:
      'WeDipIt does it again. This handle dipped 4 inch brush is a perfect for '
      'painting 4 inch lines, or coloring in big areas with paint. Just be sure you '
      'don’t drop it in a bucket of red paint, then it won’t look dipped anymore.'
  ),
  const Product(
    name: 'Perfect Goldfish Bowl',
172
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/fish_bowl.png',
173
    categories: const <String>['latest', 'furniture'],
Hans Muller's avatar
Hans Muller committed
174
    price: 30.00,
175 176 177 178 179 180 181 182
    vendor: _ali,
    description:
      'The Perfect Bowl Co makes the best bowls for just about anything you can '
      'think of. This Perfect Goldfish Bowl holds water and fish perfectly. Looks '
      'great in living rooms. Keep out of reach from cats.'
  ),
  const Product(
    name: 'Red Lipstick Set',
183
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/lipstick.png',
184
    categories: const <String>['fashion', 'beauty'],
Hans Muller's avatar
Hans Muller committed
185
    price: 54.00,
186 187 188 189 190 191 192 193
    vendor: _sandra,
    description:
      'Trying to find the perfect shade to match your mood? Try no longer. Red '
      'Lipstick Set by StickLips has you covered for those nights when you need '
      'to get out, or even if you’re just headed to work.'
  ),
  const Product(
    name: 'Backpack',
194
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/backpack.png',
195 196 197 198 199 200 201 202 203 204
    categories: const <String>['travel', 'fashion'],
    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!'
  ),
  const Product(
    name: 'Half Shield Helmet',
205
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/helmet.png',
206 207 208 209 210 211 212 213 214 215
    categories: const <String>['travel', 'fashion', 'latest'],
    price: 25.00,
    vendor: _ali,
    description:
      'Half Shield is the right helmet for those warm summer days on the road. '
      'Dot approved, these helmets have been rigorously tested. Keep that noggin '
      'protected.'
  ),
  const Product(
    name: 'Beachball',
216
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/beachball.png',
217 218 219 220 221 222 223 224 225 226
    categories: const <String>['latest'],
    price: 17.00,
    vendor: _peter,
    description:
      'Are you at a baseball game and feeling bored? At a pool party and looking '
      'for a laugh? Do you need something to take your anger out on? Beachball, '
      'by inflatable fun, is the perfect outlet.'
  ),
  const Product(
    name: 'Old Binoculars',
227
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/binoculars.png',
228 229 230 231 232 233 234 235 236 237 238
    categories: const <String>['travel', 'fashion', 'latest'],
    price: 25.00,
    vendor: _stella,
    description:
      'These Binoculars by See Through are amazing and can make things that are '
      'really far away seem like they’re right in front of you. Bring them to the '
      'beach. Now you can buy the cheap seats at the big game and feel like you’re '
      'right in the action.'
  ),
  const Product(
    name: 'Lime Flippers',
239
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/flippers.png',
240 241 242 243 244 245 246 247 248 249
    categories: const <String>['travel', 'fashion', 'beauty'],
    price: 25.00,
    vendor: _peter,
    description:
      'Flippers are a nice tool to have when you’re being chased by an oversized '
      'sea turtle. Never get caught again with these fast water shoes. You’re like '
      'a fish, but more graceful.'
  ),
  const Product(
    name: 'Surfboard',
250
    imageAsset: 'packages/flutter_gallery_assets/shrine/products/surfboard.png',
251
    categories: const <String>[ 'travel', 'latest'],
Hans Muller's avatar
Hans Muller committed
252
    price: 120.00,
253 254 255 256 257 258 259 260 261 262 263 264
    vendor: _stella,
    description:
      'Who says you can’t walk on water? With Surfboard, by Surfboard Supply, '
      'you can fly on water. This beast is fast and handles like a porsche. '
      'Hang Ten Bro!'
  )
];

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