DessertDataSource constructor

DessertDataSource(
  1. BuildContext context
)

Implementation

DessertDataSource(this.context) {
  desserts = <Dessert>[
    Dessert(
      'Frozen Yogurt',
      159,
      6.0,
      24,
      4.0,
      87,
      14,
      1,
    ),
    Dessert(
      'Ice Cream Sandwich',
      237,
      9.0,
      37,
      4.3,
      129,
      8,
      1,
    ),
    Dessert(
      'Eclair',
      262,
      16.0,
      24,
      6.0,
      337,
      6,
      7,
    ),
    Dessert(
      'Cupcake',
      305,
      3.7,
      67,
      4.3,
      413,
      3,
      8,
    ),
    Dessert(
      'Gingerbread',
      356,
      16.0,
      49,
      3.9,
      327,
      7,
      16,
    ),
    Dessert(
      'Jelly Bean',
      375,
      0.0,
      94,
      0.0,
      50,
      0,
      0,
    ),
    Dessert(
      'Lollipop',
      392,
      0.2,
      98,
      0.0,
      38,
      0,
      2,
    ),
    Dessert(
      'Honeycomb',
      408,
      3.2,
      87,
      6.5,
      562,
      0,
      45,
    ),
    Dessert(
      'Donut',
      452,
      25.0,
      51,
      4.9,
      326,
      2,
      22,
    ),
    Dessert(
      'Apple Pie',
      518,
      26.0,
      65,
      7.0,
      54,
      12,
      6,
    ),
    Dessert(
      'Frozen Yougurt with sugar',
      168,
      6.0,
      26,
      4.0,
      87,
      14,
      1,
    ),
    Dessert(
      'Ice Cream Sandich with sugar',
      246,
      9.0,
      39,
      4.3,
      129,
      8,
      1,
    ),
    Dessert(
      'Eclair with sugar',
      271,
      16.0,
      26,
      6.0,
      337,
      6,
      7,
    ),
    Dessert(
      'Cupcake with sugar',
      314,
      3.7,
      69,
      4.3,
      413,
      3,
      8,
    ),
    Dessert(
      'Gingerbread with sugar',
      345,
      16.0,
      51,
      3.9,
      327,
      7,
      16,
    ),
    Dessert(
      'Jelly Bean with sugar',
      364,
      0.0,
      96,
      0.0,
      50,
      0,
      0,
    ),
    Dessert(
      'Lollipop with sugar',
      401,
      0.2,
      100,
      0.0,
      38,
      0,
      2,
    ),
    Dessert(
      'Honeycomd with sugar',
      417,
      3.2,
      89,
      6.5,
      562,
      0,
      45,
    ),
    Dessert(
      'Donut with sugar',
      461,
      25.0,
      53,
      4.9,
      326,
      2,
      22,
    ),
    Dessert(
      'Apple pie with sugar',
      527,
      26.0,
      67,
      7.0,
      54,
      12,
      6,
    ),
    Dessert(
      'Forzen yougurt with honey',
      223,
      6.0,
      36,
      4.0,
      87,
      14,
      1,
    ),
    Dessert(
      'Ice Cream Sandwich with honey',
      301,
      9.0,
      49,
      4.3,
      129,
      8,
      1,
    ),
    Dessert(
      'Eclair with honey',
      326,
      16.0,
      36,
      6.0,
      337,
      6,
      7,
    ),
    Dessert(
      'Cupcake with honey',
      369,
      3.7,
      79,
      4.3,
      413,
      3,
      8,
    ),
    Dessert(
      'Gignerbread with hone',
      420,
      16.0,
      61,
      3.9,
      327,
      7,
      16,
    ),
    Dessert(
      'Jelly Bean with honey',
      439,
      0.0,
      106,
      0.0,
      50,
      0,
      0,
    ),
    Dessert(
      'Lollipop with honey',
      456,
      0.2,
      110,
      0.0,
      38,
      0,
      2,
    ),
    Dessert(
      'Honeycomd with honey',
      472,
      3.2,
      99,
      6.5,
      562,
      0,
      45,
    ),
    Dessert(
      'Donut with honey',
      516,
      25.0,
      63,
      4.9,
      326,
      2,
      22,
    ),
    Dessert(
      'Apple pie with honey',
      582,
      26.0,
      77,
      7.0,
      54,
      12,
      6,
    ),
  ];
}