Visitar URL original
Cookbook design by sfshaza2 · Pull Request #13964 · flutter/website · GitHub
Skip to content

Cookbook design - #13964

Open
sfshaza2 wants to merge 2 commits into
mainfrom
cookbook-design
Open

sfshaza2 wants to merge 2 commits into
mainfrom
cookbook-design

Conversation

@sfshaza2

@sfshaza2 sfshaza2 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Refreshing the Design recipes in the cookbook

@sfshaza2
sfshaza2 requested a review from a team as a code owner October 7, 2026 18:24

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several Flutter cookbook design examples and documentation files, focusing on style guide alignment, list formatting, link updates, and code simplifications (such as removing redundant generic type arguments). Feedback on the changes highlights an incorrect link for SingleChildScrollView pointing to {{site.cupertino_ui}} instead of the core Flutter API documentation, which would cause a broken link.


[`CupertinoApp`]: {{site.cupertino_ui}}/CupertinoApp-class.html
[`showCupertinoSheet`]: {{site.cupertino_ui}}/showCupertinoSheet.html
[`SingleChildScrollView`]: {{site.cupertino_ui}}/SingleChildScrollView-class.html

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The SingleChildScrollView widget is a standard Flutter widget from the core framework, not part of the decoupled cupertino_ui package. Linking it to {{site.cupertino_ui}} will result in a broken link (404) on the built website. It should be linked using {{site.api}}/flutter/widgets/SingleChildScrollView-class.html instead.

Suggested change
[`SingleChildScrollView`]: {{site.cupertino_ui}}/SingleChildScrollView-class.html
[`SingleChildScrollView`]: {{site.api}}/flutter/widgets/SingleChildScrollView-class.html
References
  1. Prioritize fixing navigation, rendering, accessibility, or security defects, such as broken links. (link)

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Staged preview of the updated docs.flutter.dev site (updated for commit a40d270):

https://flutter-docs-prod--docs-pr13964-cookbook-design-zre23v3l.web.app

@MuthuGCodes
MuthuGCodes self-requested a review October 8, 2026 14:35

@MuthuGCodes MuthuGCodes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for refreshing the Design cookbook recipes, @sfshaza2 :)

lgtm with a nit note.


<noscript>
<img src="/assets/images/docs/cookbook/orientation.webp" alt="Orientation Demo" class="site-mobile-screenshot" />
<img src="/assets/images/docs/cookbook/orientation.png" alt="Orientation Demo" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be /assets/images/docs/cookbook/orientation.webp?

The /assets/images/docs/cookbook/ directory doesn't seem to have the orientation.png format file.

You might even want to give them an option to undo the action.

![SnackBar Demo](/assets/images/docs/cookbook/snackbar.webp){:.site-mobile-screenshot}
![SnackBar Demo](/assets/images/docs/cookbook/snackbar.png)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same note. The .png format file doesn't seem to exist in the /assets/images/docs/cookbook/ directory.


<noscript>
<img src="/assets/images/docs/cookbook/tabs.webp" alt="Tabs Demo" class="site-mobile-screenshot" />
<img src="/assets/images/docs/cookbook/tabs.png" alt="Tabs Demo" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same note. The .png format file doesn't seem to exist in the /assets/images/docs/cookbook/ directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants