-
-
Notifications
You must be signed in to change notification settings - Fork 470
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
Change Button style #8
Labels
question
Further information is requested
Comments
In the readme is an example of the button i want to have: Content Dialog -> last screenshot with the headline "Subscribe to App Service?" |
you can change its decoration using the style property: Button (
text: Text(' button '),
style: ButtonStyle(
decoration: (state) => yourDecoration,
),
) Remember to add a different decoration for all the states. |
Thats was the missing hint :) Thank you very much 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More a question than an issue. I want to change the theme / color of a button.
The button should be blue with white text color (like a primary button for a dialog).
I think it's relativly easy, but i could not get it done.
Thanks for any help. Keep up the good work 👍
The text was updated successfully, but these errors were encountered: