Skip to content

Using medium font size, rather than large#13232

Merged
sfshaza2 merged 2 commits intomainfrom
fix-orientation-font
Mar 31, 2026
Merged

Using medium font size, rather than large#13232
sfshaza2 merged 2 commits intomainfrom
fix-orientation-font

Conversation

@sfshaza2
Copy link
Copy Markdown
Contributor

Fixes #13187

@sfshaza2 sfshaza2 requested a review from a team as a code owner March 30, 2026 18:38
@flutter-website-bot
Copy link
Copy Markdown
Collaborator

flutter-website-bot commented Mar 30, 2026

Visit the preview URL for this PR (updated for commit 2813304):

https://flutter-docs-prod--pr13232-fix-orientation-font-zobbpsm0.web.app

Copy link
Copy Markdown
Contributor

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

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 the text styles from displayLarge to headlineLarge across the orientation cookbook example and its documentation, while also refining Markdown formatting. The reviewer identified a critical issue where TextTheme.of(context) is used incorrectly, as TextTheme does not have a static of method; the correct approach is Theme.of(context).textTheme. It was also suggested to consider headlineMedium to better align with the PR's objective of using a medium font size.

Copy link
Copy Markdown
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Thanks!

@sfshaza2 sfshaza2 merged commit 1de9a07 into main Mar 31, 2026
10 checks passed
@sfshaza2 sfshaza2 deleted the fix-orientation-font branch March 31, 2026 18:15
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.

Font Size Issue in Interactive Example

3 participants