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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user