Repository navigation
[material_ui] Fix doc errors in the OutlinedButton and TextButton - #13739
Merged
auto-submit[bot] merged 1 commit intoNov 25, 2026
Merged
Conversation
QuncCccccc
marked this pull request as ready for review
November 20, 2026 20:49
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation for OutlinedButton, OutlinedButtonThemeData, OutlinedButtonTheme, and TextButton to correct grammatical typos and align the documented default styles (such as padding, text styles, overlay colors, and icon properties) with the actual Material 2 and Material 3 implementations. A pending changelog entry has also been added to record these documentation fixes. There are no review comments, and I have no feedback to provide.
elliette
approved these changes
Nov 24, 2026
opensource-fork-sync Bot
pushed a commit
to cla7aye15I4nd/opensource-flutter__flutter
that referenced
this pull request
Nov 25, 2026
…er#197386) flutter/packages@f455dfa...105a874 2026-11-25 [email protected] [material_ui] Fix doc errors in the `OutlinedButton` and `TextButton` (flutter/packages#13739) 2026-11-25 [email protected] [tool] Exempt Kotlin DSL Gradle files like their Groovy equivalents (flutter/packages#13780) 2026-11-24 [email protected] [video_player] Convert remaining code to Swift (flutter/packages#13643) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump org.mockito.kotlin:mockito-kotlin from 6.1.0 to 6.3.0 in /packages/cross_file/cross_file_android/android (flutter/packages#12933) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump org.json:json from 20260522 to 20260814 in /packages/in_app_purchase/in_app_purchase/example/android/app (flutter/packages#12569) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com Bump the all-github-actions group across 1 directory with 2 updates (flutter/packages#12289) 2026-11-24 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the test-dependencies group across 9 directories with 2 updates (flutter/packages#13760) 2026-11-24 [email protected] [material_ui] Migrate RangeSlider API doc snippets to {@example} (batch 14) (flutter/packages#13725) 2026-11-24 [email protected] [in_app_purchase_storekit] Fix test failure on Xcode 27.2 (flutter/packages#13778) 2026-11-24 [email protected] Roll Flutter from 98744d3 to b75c5b3 (24 revisions) (flutter/packages#13777) If this roll has caused a breakage, revert this CL and set the roller to dry run mode using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the parts of the
OutlinedButtonandTextButtondocs that don't match the code, the same kinds of errors that #13685 fixed forElevatedButtonandFilledButton. It doesn't change any behavior.OutlinedButtonsaid thatOutlinedButtonThemeoverrides the style of all text buttons in a subtree, andTextButtonsaid that the button fills with its background color when touched, instead of its overlay color.OutlinedButton.iconandTextButton.icon, the font size thresholds (42, not 36), and the Material 2 and Material 3 padding ofTextButton, which were mixed up. The Material 3 docs now list theTextButton.iconpadding too.iconSizeandiconColorof both buttons and the focused outline ofOutlinedButton, and correctssurfaceTintColorand the outdated Material 2textStyleandoverlayColor.Follow-up to #13685
Part of flutter/flutter#184937
Pre-Review Checklist
[shared_preferences]///).If you need help, consider asking for advice on the #hackers-new channel on Discord.
Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the
gemini-code-assistbot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩ ↩2