-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OutlineButton documentation is very vague and unclear #37587
Comments
OutlineButtons always have a transparent fill unless the button's highlightElevation is set to a value > 0. If that's the case then the outline button is filled with the specified The OutlineButton documentation is not clear on this, we need to fix that. |
The documentation for OutlineButton is actually really unclear on many aspects. It should have examples of basic usage, sample images showing cases with elevation, etc. |
Try this DecoratedBox(
),),); |
Hello @Hixie |
I'm closing this issue because the OutlineButton widget is deprecated and has been replaced by OutlinedButton. The new OutlinedButton widget does need examples, as do TextButton and ElevatedButton. Many examples can be found in flutter.dev/go/material-button-migration-guide and in #59702 as well as the ButtonStyle API doc. I've opened an issue for the API doc lacunae - #75642 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
When creating an 'OutlineButton', I presume setting the 'color' tag should result in the button being filled with the specified color; but it doesn't.
Here's the button code
Here's the visual output
The text was updated successfully, but these errors were encountered: