diff --git a/veggieseasons/assets/images/canteloupe.jpg b/veggieseasons/assets/images/cantaloupe.jpg similarity index 100% rename from veggieseasons/assets/images/canteloupe.jpg rename to veggieseasons/assets/images/cantaloupe.jpg diff --git a/veggieseasons/lib/data/local_veggie_provider.dart b/veggieseasons/lib/data/local_veggie_provider.dart index f4b922986..8e3cb2a2a 100644 --- a/veggieseasons/lib/data/local_veggie_provider.dart +++ b/veggieseasons/lib/data/local_veggie_provider.dart @@ -47,6 +47,42 @@ class LocalVeggieProvider { ], 2, ), + Trivia( + 'Apples in the supermarket can be up to how old?', + [ + '1 week', + '1 month', + '1 year', + ], + 2, + ), + Trivia( + 'How long does it take a typical apple tree to produce its first fruit?', + [ + 'One to two years', + 'Four or five years', + 'Eight to ten years', + ], + 1, + ), + Trivia( + 'Archaeological evidence of humans eating apples dates back how far?', + [ + '500 C.E.', + '2000 B.C.E.', + '6500 B.C.E.', + ], + 1, + ), + Trivia( + 'What are the seed pockets inside an apple called?', + [ + 'Tarsals', + 'Carpels', + 'Sacs', + ], + 1, + ), ], ), Veggie( @@ -61,7 +97,44 @@ class LocalVeggieProvider { vitaminCPercentage: 25, servingSize: '1 medium artichoke', caloriesPerServing: 60, - trivia: [], + trivia: [ + Trivia( + 'Artichokes are which part of the plant?', + [ + 'Flower bud', + 'Root', + 'Seed', + ], + 0, + ), + Trivia( + '"Jerusalem artichoke" is another term for which vegetable?', + [ + 'Potato', + 'Cabbage', + 'Sunchoke', + ], + 2, + ), + Trivia( + 'Which city claims to be The Artichoke Capital of the World?', + [ + 'Castroville, California', + 'Galveston, Texas', + 'London, England', + ], + 0, + ), + Trivia( + 'Artichokes are technically which type of plant?', + [ + 'Thistle', + 'Azalea', + 'Tulip', + ], + 0, + ), + ], ), Veggie( id: 3, @@ -75,7 +148,44 @@ class LocalVeggieProvider { vitaminCPercentage: 15, servingSize: '5 spears', caloriesPerServing: 20, - trivia: [], + trivia: [ + Trivia( + 'The nodules at the tip of an asparagus spear are actually which part of the plant?', + [ + 'Seeds', + 'Leaves', + 'Potective scales', + ], + 1, + ), + Trivia( + 'How is white asparagus made?', + [ + 'It\'s watered with milk', + 'It\'s a different species', + 'It\'s grown in the shade', + ], + 2, + ), + Trivia( + 'Asapragus spears have been observed growing how many inches in a single day?', + [ + '1', + '3', + '6', + ], + 2, + ), + Trivia( + 'To which flower is asparagus related?', + [ + 'Lily', + 'Rose', + 'Whole wheat', + ], + 0, + ), + ], ), Veggie( id: 4, @@ -89,7 +199,35 @@ class LocalVeggieProvider { vitaminCPercentage: 4, servingSize: '1/5 medium avocado', caloriesPerServing: 50, - trivia: [], + trivia: [ + Trivia( + 'What\'s the most popular variety of avocado?', + [ + 'Stevenson', + 'Hass', + 'Juicy Lucy', + ], + 1, + ), + Trivia( + 'The word avocado derives from "ahuacatl," found in which civilization?', + [ + 'Aztec', + 'Incan', + 'Sumerian', + ], + 0, + ), + Trivia( + 'What percentage of an avocado is nutritional fat?', + [ + '10', + '25', + '50', + ], + 1, + ), + ], ), Veggie( id: 5, @@ -103,21 +241,86 @@ class LocalVeggieProvider { vitaminCPercentage: 4, servingSize: '1 cup', caloriesPerServing: 62, - trivia: [], + trivia: [ + Trivia( + 'What color are unripe blackberries?', + [ + 'Red', + 'White', + 'Brown', + ], + 0, + ), + Trivia( + 'The blackberry is the official fruit of which American state?', + [ + 'Washington', + 'Colorado', + 'Alabama', + ], + 2, + ), + Trivia( + 'How many varieties of blackberries are known to exist?', + [ + '500', + '1000', + '2000', + ], + 2, + ), + ], ), Veggie( id: 6, - name: 'Canteloupe', - imageAssetPath: 'assets/images/canteloupe.jpg', + name: 'Cantaloupe', + imageAssetPath: 'assets/images/cantaloupe.jpg', category: VeggieCategory.melon, shortDescription: 'A fruit so tasty there\'s a utensil just for it.', accentColor: Color(0x40f6bd56), seasons: [Season.summer], vitaminAPercentage: 120, vitaminCPercentage: 80, - servingSize: '1/4 medium canteloupe', + servingSize: '1/4 medium cantaloupe', caloriesPerServing: 50, - trivia: [], + trivia: [ + Trivia( + 'Which of these is another name for cantaloupe?', + [ + 'Muskmelon', + 'Crenshaw melon', + 'Rindfruit', + ], + 0, + ), + Trivia( + 'The word "cantaloupe" is a reference to what?', + [ + 'The Latin word for a ring of seeds', + 'The gardens of a castle in Italy', + 'An aphid species that feeds on cantaloupe leaves', + ], + 1, + ), + Trivia( + 'Cantaloupes grow on what kind of plant?', + [ + 'Tree', + 'Shrub', + 'Vine', + ], + 2, + ), + Trivia( + 'The most expensive melons in Japan can sell for up to how much?', + [ + '\$100', + '\$1,000', + '\$10,000', + ], + 2, + ), + ], ), Veggie( id: 7, @@ -131,13 +334,50 @@ class LocalVeggieProvider { vitaminCPercentage: 100, servingSize: '1/6 medium head', caloriesPerServing: 25, - trivia: [], + trivia: [ + Trivia( + 'The quote "Cauliflower is nothing but cabbage with a college education" is attributed to whom?', + [ + 'Cesar Romero', + 'Mark Twain', + 'Lucille Ball', + ], + 1, + ), + Trivia( + 'The edible head of a cauliflower plant is sometimes called what?', + [ + 'The curd', + 'The cow', + 'The cudgel', + ], + 0, + ), + Trivia( + 'Cauliflower is related closest to which of these other plants?', + [ + 'Mustard greens', + 'Apples', + 'Potatoes', + ], + 0, + ), + Trivia( + 'Cauliflower\'s green spiral-shaped cousin is known as what?', + [ + 'Romesco', + 'Brittany cabbage', + 'Muscle sprouts', + ], + 0, + ), + ], ), Veggie( id: 8, name: 'Endive', imageAssetPath: 'assets/images/endive.jpg', - category: VeggieCategory.gourd, + category: VeggieCategory.leafy, shortDescription: 'It\'s basically the veal of lettuce.', accentColor: Color(0x40c5be53), seasons: [Season.winter, Season.autumn, Season.spring], @@ -145,7 +385,35 @@ class LocalVeggieProvider { vitaminCPercentage: 2, servingSize: '1/2 cup, chopped', caloriesPerServing: 4, - trivia: [], + trivia: [ + Trivia( + 'What\'s another name for Belgian endive?', + [ + 'Radicchio', + 'St. Paul\'s lettuce', + 'Witloof chicory', + ], + 2, + ), + Trivia( + 'How does endive propagate itself?', + [ + 'By seed', + 'By rhizome', + 'By packing up and moving to Des Moines', + ], + 0, + ), + Trivia( + 'Some farmers cover their endive with shade to reduce what?', + [ + 'Size', + 'Toughness', + 'Bitterness', + ], + 2, + ), + ], ), Veggie( id: 9, @@ -159,7 +427,35 @@ class LocalVeggieProvider { vitaminCPercentage: 2, servingSize: '1 large fig', caloriesPerServing: 50, - trivia: [], + trivia: [ + Trivia( + 'Which of these isn\'t a variety of figs?', + [ + 'Brown Turkey', + 'Green Ischia', + 'Red Racer', + ], + 2, + ), + Trivia( + 'A fig\'s natural sugar content is around what?', + [ + '25%', + '50%', + '75%', + ], + 1, + ), + Trivia( + 'How much sun should be used to ripen figs?', + [ + 'Shade', + 'Partial shade', + 'Full sun', + ], + 2, + ), + ], ), Veggie( id: 10, @@ -173,7 +469,44 @@ class LocalVeggieProvider { vitaminCPercentage: 2, servingSize: '3/4 cup', caloriesPerServing: 90, - trivia: [], + trivia: [ + Trivia( + 'How long ago were grapes introduced to the Americas?', + [ + '100 years', + '200 years', + '300 years', + ], + 2, + ), + Trivia( + 'Which of these is not an actual color of grapes?', + [ + 'Pink', + 'Yellow', + 'Brown', + ], + 2, + ), + Trivia( + 'About how many millions of tons of grapes are produced each year?', + [ + '40', + '80', + '120', + ], + 1, + ), + Trivia( + 'There are about how many known varieties of grapes?', + [ + '2,000', + '4,000', + '8,000', + ], + 2, + ), + ], ), Veggie( id: 11, @@ -187,7 +520,35 @@ class LocalVeggieProvider { vitaminCPercentage: 190, servingSize: '1 medium pepper', caloriesPerServing: 25, - trivia: [], + trivia: [ + Trivia( + 'What\'s the Australian term for a bell pepper?', + [ + 'Capsicum', + 'Ringer', + 'John Dobbins', + ], + 0, + ), + Trivia( + 'How are green peppers produced?', + [ + 'They\'re picked before ripening', + 'They\'re grown in the shade', + 'They\'re a distinct species', + ], + 0, + ), + Trivia( + 'How quickly can a green pepper grow from seed to harvest?', + [ + '10 weeks', + '20 weeks', + '30 weeks', + ], + 0, + ), + ], ), Veggie( id: 12, @@ -201,7 +562,35 @@ class LocalVeggieProvider { vitaminCPercentage: 100, servingSize: '1 pepper', caloriesPerServing: 20, - trivia: [], + trivia: [ + Trivia( + 'How high can habaneros rate on the Scoville scale?', + [ + '200,000 units', + '600,000 units', + '1,000,000 units', + ], + 1, + ), + Trivia( + 'Which of these is a pepper known to be hotter than the habanero?', + [ + 'Serrano pepper', + 'Hatch chile', + 'Pepper X', + ], + 2, + ), + Trivia( + 'Which of these isn\'t a variety of habaneros?', + [ + 'White giant', + 'Condor\'s beak', + 'Saucy tyrant', + ], + 2, + ), + ], ), Veggie( id: 13, @@ -215,7 +604,35 @@ class LocalVeggieProvider { vitaminCPercentage: 134, servingSize: '1 cup, chopped', caloriesPerServing: 33, - trivia: [], + trivia: [ + Trivia( + 'Kale is sweeter when harvested after what?', + [ + 'Sundown', + 'The first frost', + 'Reading it a sad story', + ], + 1, + ), + Trivia( + 'Which of these isn\'t a color in which Kale can be found?', + [ + 'Purple', + 'White', + 'Orange', + ], + 2, + ), + Trivia( + 'One serving of kale provides what percentage of a typical person\'s requirement for vitamin K?', + [ + '100%', + '300%', + '900%', + ], + 2, + ), + ], ), Veggie( id: 14, @@ -229,7 +646,35 @@ class LocalVeggieProvider { vitaminCPercentage: 240, servingSize: '2 medium kiwis', caloriesPerServing: 90, - trivia: [], + trivia: [ + Trivia( + 'Europeans sometimes refer to kiwi as what?', + [ + 'Chinese gooseberry', + 'Gem berries', + 'Bulbfruit', + ], + 0, + ), + Trivia( + 'On what type of plant do kiwi grow?', + [ + 'Tree', + 'Shrub', + 'Vine', + ], + 2, + ), + Trivia( + 'Compared to oranges, kiwi typically contain how much vitamin C?', + [ + 'Half as much', + 'About the same', + 'Twice as much', + ], + 2, + ), + ], ), Veggie( id: 15, @@ -243,7 +688,44 @@ class LocalVeggieProvider { vitaminCPercentage: 40, servingSize: '1 medium lemon', caloriesPerServing: 15, - trivia: [], + trivia: [ + Trivia( + 'A lemon tree can produce up to how many pounds of fruit each year?', + [ + '100', + '300', + '600', + ], + 2, + ), + Trivia( + 'Which of these isn\'t a type of lemon?', + [ + 'Acid', + 'Sarcastic', + 'Sweet', + ], + 1, + ), + Trivia( + 'What percent of a typical lemon is composed of juice?', + [ + '20%', + '40%', + '60%', + ], + 0, + ), + Trivia( + 'Which lemon variety is prized for its sweeter-than-averga flavor?', + [ + 'Hookeye', + 'Meyer', + 'Minnesota Stomp', + ], + 1, + ), + ], ), Veggie( id: 16, @@ -257,7 +739,35 @@ class LocalVeggieProvider { vitaminCPercentage: 35, servingSize: '1 medium lime', caloriesPerServing: 20, - trivia: [], + trivia: [ + Trivia( + 'Which American state is famous for its Key Lime Pie?', + [ + 'Pennsylvania', + 'Arizona', + 'Florida', + ], + 2, + ), + Trivia( + 'Dried limes are a particularly popular soup ingredient in which part of the world?', + [ + 'Middle East', + 'Africa', + 'Australia', + ], + 0, + ), + Trivia( + 'Sailors once carried limes on their ships to help against which condition?', + [ + 'Influenza', + 'Scurvy', + 'Boredom', + ], + 1, + ), + ], ), Veggie( id: 17, @@ -271,7 +781,35 @@ class LocalVeggieProvider { vitaminCPercentage: 203, servingSize: '1 fruit', caloriesPerServing: 201, - trivia: [], + trivia: [ + Trivia( + 'In Mexico, mangos are frequently dusted with what spices before being eaten as a snack?', + [ + 'Black pepper and sugar', + 'Chile pepper and lime juice', + 'Cumin and salt', + ], + 1, + ), + Trivia( + 'To which nut is the mango closely related?', + [ + 'Cashew', + 'Peanut', + 'Walnut', + ], + 0, + ), + Trivia( + 'In which country did mangos originate?', + [ + 'India', + 'Madagascar', + 'Belize', + ], + 0, + ), + ], ), Veggie( id: 18, @@ -285,7 +823,44 @@ class LocalVeggieProvider { vitaminCPercentage: 2, servingSize: '5 medium \'shrooms', caloriesPerServing: 20, - trivia: [], + trivia: [ + Trivia( + 'Someone who loves eating mushrooms is called what?', + [ + 'A mycophagist', + 'A philologist', + 'A phlebotomist', + ], + 0, + ), + Trivia( + 'Morel mushrooms are particulary prized by cooks of which style of cuisine?', + [ + 'French', + 'Italian', + 'Japanese', + ], + 0, + ), + Trivia( + 'The largest living organism ever identified is what type of mushroom?', + [ + 'Shiitake mushroom', + 'Honey mushroom', + 'Glory mushroom', + ], + 1, + ), + Trivia( + 'One mushroom cousin is the truffle. Which color truffle is the most prized?', + [ + 'White', + 'Black', + 'Brown', + ], + 0, + ), + ], ), Veggie( id: 19, @@ -299,7 +874,35 @@ class LocalVeggieProvider { vitaminCPercentage: 15, servingSize: '1 medium nectarine', caloriesPerServing: 60, - trivia: [], + trivia: [ + Trivia( + 'Nectarines are technically a variety of which other fruit?', + [ + 'Peach', + 'Plum', + 'Cherry', + ], + 0, + ), + Trivia( + 'Nectarines are sometimes called what?', + [ + 'Neckless geese', + 'Giant grapes', + 'Shaved peaches', + ], + 2, + ), + Trivia( + 'Nectarines are thought to have originated in which country?', + [ + 'China', + 'Italy', + 'Ethiopia', + ], + 0, + ), + ], ), Veggie( id: 20, @@ -313,7 +916,35 @@ class LocalVeggieProvider { vitaminCPercentage: 27, servingSize: '1 fruit', caloriesPerServing: 32, - trivia: [], + trivia: [ + Trivia( + 'What\'s the most commonly grown variety of persimmon?', + [ + 'Sugar', + 'Yellowbird', + 'Kaki', + ], + 2, + ), + Trivia( + 'The word "persimmon" is derived from which language?', + [ + 'Latin', + 'Indo-European', + 'Powhatan', + ], + 2, + ), + Trivia( + 'Which of these is an alternate variety of persimmon?', + [ + 'Black Sapote', + 'Green Troubador', + 'Red Captain', + ], + 0, + ), + ], ), Veggie( id: 21, @@ -327,7 +958,35 @@ class LocalVeggieProvider { vitaminCPercentage: 10, servingSize: '2 medium plums', caloriesPerServing: 70, - trivia: [], + trivia: [ + Trivia( + 'Plums should be handled with care because...?', + [ + 'They\'re particularly sticky', + 'They bruise easily', + 'It\'s easy to hurt their feelings', + ], + 1, + ), + Trivia( + 'A dried plum is known as what?', + [ + 'A prune', + 'An apricot', + 'A raisin', + ], + 0, + ), + Trivia( + 'A sugar plum typically contains how much plum juice?', + [ + '0%', + '25%', + '50%', + ], + 0, + ), + ], ), Veggie( id: 22, @@ -341,7 +1000,35 @@ class LocalVeggieProvider { vitaminCPercentage: 45, servingSize: '1 medium spud', caloriesPerServing: 110, - trivia: [], + trivia: [ + Trivia( + 'Which country consumes the most fried potatoes per capita?', + [ + 'United States', + 'Belgium', + 'Ireland', + ], + 1, + ), + Trivia( + 'Who is credited with introducing French Fries to the United States?', + [ + 'Thomas Jefferson', + 'Betsy Ross', + 'Alexander Hamilton', + ], + 0, + ), + Trivia( + 'The world record for loongest curly fry stands at how many inches?', + [ + '38', + '58', + '78', + ], + 0, + ), + ], ), Veggie( id: 23, @@ -355,7 +1042,35 @@ class LocalVeggieProvider { vitaminCPercentage: 10, servingSize: '2 cups shredded', caloriesPerServing: 20, - trivia: [], + trivia: [ + Trivia( + 'Radicchio is a particuarly good source of which mineral?', + [ + 'Manganese', + 'Mercury', + 'Molybdenum', + ], + 0, + ), + Trivia( + 'Radicchio should be stored at what temperature?', + [ + 'Room temperature', + 'Refrigerator temperature', + 'Freezer temperature', + ], + 1, + ), + Trivia( + 'What happens to the taste of radicchio once the plant flowers?', + [ + 'It becomes bitter', + 'It becomes sweeter', + 'Nothing. It just looks nicer!', + ], + 0, + ), + ], ), Veggie( id: 24, @@ -369,7 +1084,35 @@ class LocalVeggieProvider { vitaminCPercentage: 30, servingSize: '7 radishes', caloriesPerServing: 10, - trivia: [], + trivia: [ + Trivia( + 'Which ancient civilization is known to have used radish oil?', + [ + 'Egyptian', + 'Sumerian', + 'Incan', + ], + 0, + ), + Trivia( + 'What\'s the name of the radish commonly used in Japanese cuisine?', + [ + 'Daisuki', + 'Daijin', + 'Daikon', + ], + 2, + ), + Trivia( + 'The annual "Night of the Radishes" festival takes place just before Christmas Eve in which country?', + [ + 'Mexico', + 'France', + 'South Korea', + ], + 0, + ), + ], ), Veggie( id: 25, @@ -383,7 +1126,35 @@ class LocalVeggieProvider { vitaminCPercentage: 48, servingSize: '1 cup diced butternut', caloriesPerServing: 63, - trivia: [], + trivia: [ + Trivia( + 'Which of these is not a type of squash?', + [ + 'Zucchini', + 'Spaghetti', + 'Martini', + ], + 2, + ), + Trivia( + 'Gourds like squash are also handy as what?', + [ + 'Containers', + 'Furniture', + 'Musical instruments', + ], + 0, + ), + Trivia( + 'Which country is the world\'s largest importer of squashes?', + [ + 'China', + 'United States', + 'Russia', + ], + 1, + ), + ], ), Veggie( id: 26, @@ -398,7 +1169,35 @@ class LocalVeggieProvider { vitaminCPercentage: 160, servingSize: '8 medium strawberries', caloriesPerServing: 50, - trivia: [], + trivia: [ + Trivia( + 'How many seeds are in the average strawberry?', + [ + '50', + '100', + '200', + ], + 2, + ), + Trivia( + 'Strawberries are closely related to which type of flower?', + [ + 'The rose', + 'The daisy', + 'The tulip', + ], + 0, + ), + Trivia( + 'Strawberries are unique among fruit for what reason?', + [ + 'Their seeds are on the outside', + 'Their flowers are striped', + 'Their plants have a taproot', + ], + 0, + ), + ], ), Veggie( id: 27, @@ -412,7 +1211,35 @@ class LocalVeggieProvider { vitaminCPercentage: 181, servingSize: '1 medium tangelo', caloriesPerServing: 60, - trivia: [], + trivia: [ + Trivia( + 'The tangelo is thought to be a cross between oranges and which other fruit?', + [ + 'Peach', + 'Plum', + 'Pummelo', + ], + 2, + ), + Trivia( + 'Which of these is a variety of tangelo?', + [ + 'Orlando', + 'Bluebonnet', + 'Creakey Pete', + ], + 0, + ), + Trivia( + 'A typical tangelo is about what size?', + [ + 'Golf ball', + 'Baseball', + 'Bowling ball', + ], + 1, + ), + ], ), Veggie( id: 28, @@ -426,7 +1253,35 @@ class LocalVeggieProvider { vitaminCPercentage: 40, servingSize: '1 medium tomato', caloriesPerServing: 25, - trivia: [], + trivia: [ + Trivia( + 'French speakers sometimes refer to tomatoes with which name?', + [ + 'Piet de terre', + 'Mille-feuille', + 'Pomme d\'amour', + ], + 2, + ), + Trivia( + 'The largest tomato known to have been grown weighed in at how many pounds?', + [ + '8', + '10', + '12', + ], + 0, + ), + Trivia( + 'Which country is the world\'s largest producer of tomatoes?', + [ + 'China', + 'Italy', + 'Ecuador', + ], + 0, + ), + ], ), Veggie( id: 29, @@ -440,7 +1295,44 @@ class LocalVeggieProvider { vitaminCPercentage: 25, servingSize: '2 cups diced', caloriesPerServing: 80, - trivia: [], + trivia: [ + Trivia( + 'How much of a watermelon is water?', + [ + '50%', + '75%', + '90%', + ], + 2, + ), + Trivia( + 'Which nation is famous for growing watermelons in unsual shapes like cubes and hearts?', + [ + 'Armenia', + 'Japan', + 'Saudi Arabia', + ], + 1, + ), + Trivia( + 'Which U.S. state declared the watermelon to be its state vegetable (that\'s right, vegetable)?', + [ + 'Kansas', + 'Iowa', + 'Oklahoma', + ], + 2, + ), + Trivia( + 'Early explorers to the Americas used watermelons as which piece of equipment?', + [ + 'Stools', + 'Pillows', + 'Canteens', + ], + 2, + ), + ], ), Veggie( id: 30, @@ -454,7 +1346,35 @@ class LocalVeggieProvider { vitaminCPercentage: 190, servingSize: '1 medium pepper', caloriesPerServing: 25, - trivia: [], + trivia: [ + Trivia( + 'Which compound (not found in bell peppers) is responsible for many peppers\' spicy taste?', + [ + 'Alum', + 'Capsacin', + 'Calcium', + ], + 1, + ), + Trivia( + 'In comparison to green peppers, how expensive are their orange cousins?', + [ + 'Cheaper', + 'About the same', + 'More expensive', + ], + 2, + ), + Trivia( + 'Who is generally credited with giving bell peppers their peppery name?', + [ + 'Christopher Columbus', + 'Benjamin Franklin', + 'Eleanor Roosevelt', + ], + 0, + ), + ], ), ]; } diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml index 7dbbba4ba..13e226d01 100644 --- a/veggieseasons/pubspec.yaml +++ b/veggieseasons/pubspec.yaml @@ -29,7 +29,7 @@ flutter: - assets/images/asparagus.jpg - assets/images/avocado.jpg - assets/images/blackberry.jpg - - assets/images/canteloupe.jpg + - assets/images/cantaloupe.jpg - assets/images/cauliflower.jpg - assets/images/endive.jpg - assets/images/fig.jpg