Skip to content
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

テーマカラーで色を統一して変えられるようにしました #226

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

tyanio
Copy link
Contributor

@tyanio tyanio commented Jul 27, 2021

ファイルをみてもらうとわかるんですがColors.blueを使っていたところはTheme.of(context).primaryColorみたいな感じで変えてます。

ThemeDataを宣言するところでprimaryColorを指定するとその色がすべてに反映されるのでできるだけこの「Theme.of(context).~~~~」を使ってくれると助かりやす!

なるべくで構いませぬ!現状は
Colors.blue == Theme.of(context).primaryColor
Colors.white ==Theme.of(context).scaffoldBackgroundColor
ぐらいです

@tyanio tyanio added the UI/UX label Jul 27, 2021
@tyanio tyanio self-assigned this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants