Skip to content

how to use this disable button theme? #185

Closed Answered by rydmike
yunchiri asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @yunchiri, thank you for your question.

Can you explain a bit more about what you mean? Below a few guesses and their answers, but since I am not sure I understand the question correctly, the answer may not be what you are looking for.

Q1: How do I get this style of ElevatedButton in disabled mode in?
A1: Since you have it configured in the Playground, if you copy the theme from the playground generated code config, and use it in your app's MaterialApp.theme this is the style you will then get when the ElevatedButton is in its disabled state.

Q2: How do I recreate the shown style in the image?
A2: A bit hard to say exactly from the screen shot what configs have been made in the Playgro…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rydmike
Comment options

You must be logged in to vote
2 replies
@rydmike
Comment options

@yunchiri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question This issue is a usage question and will be moved to the Discussions section. works as expected Reported issue is not a bug, everything works as expected and designed
2 participants
Converted from issue

This discussion was converted from issue #184 on August 28, 2023 12:10.