Skip to content

Material-3 AppBar color #199

Closed Answered by rydmike
bksubhuti asked this question in Q&A
Oct 13, 2023 · 25 comments · 13 replies
Discussion options

You must be logged in to vote

Yes FlexColorScheme (FCS) contains many different APIs to adjust things, it can certainly be confusing. But no worries, lets look at what seems to be relevant for your use case.

Since you are using the colors API, and a list of them, we have good option via it. This is btw a very good and simple way to define key custom colors and color theme options that users can choose from, nicely done! 😄

So let's take a look how to develop it a bit. You have this:

FlexColorScheme.light(
  // As scheme colors we use the one from our list
  // pointed to by the current themeIndex.
  colors: myFlexSchemes[Prefs.themeIndex].light,
  // Medium strength surface branding used in this example.
  surfaceMode: F…

Replies: 25 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 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
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

@rydmike
Comment options

Comment options

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

@bksubhuti
Comment options

Comment options

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

@bksubhuti
Comment options

@rydmike
Comment options

@bksubhuti
Comment options

@rydmike
Comment options

Comment options

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

@rydmike
Comment options

Comment options

You must be logged in to vote
1 reply
@rydmike
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 #197 on October 14, 2023 20:36.