1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 15:58:32 +00:00

Simplify samples index and remove cookbook recipes (#2102)

Remove the cookbook recipes from the samples index in a step to
eventually remove it as a whole.

The cookbook recipe listings in the index haven't been updated in a long
time, the support for updating them doesn't work, and this isn't
generally how people are finding cookbook recipes.

This has the added benefit of reducing repo size quite a bit due to the
large images.
This commit is contained in:
Parker Lougheed
2023-11-30 12:17:19 -06:00
committed by GitHub
parent 60a4057c1f
commit ab6d874404
120 changed files with 28 additions and 1563 deletions

View File

@@ -36,11 +36,10 @@ class Sample {
/// The author of the sample. Typically "Flutter"
final String? author;
/// Screenshots of the sample or cookbook article. At least 1 screenshot is
/// required.
/// Screenshots of the sample. At least 1 screenshot is required.
final List<Screenshot> screenshots;
/// A link to the source code or cookbook article if type is 'cookbook'.
/// A link to the source code.
final String source;
/// A link to this sample running in the browser.
@@ -69,7 +68,7 @@ class Sample {
final List<String> platforms;
/// The type of the sample. Supported values are either 'sample' or
/// 'cookbook'.
/// 'demo'.
final String type;
/// The date this sample was created.