LoginSignup
2
1

【Flutter】Colorでカラーコード(Hex)を指定したい

Posted at

どういうことか

例えば Colors.blue ではなく #0000FF を指定したい。

指定する

Color(0xFF0000FF),

Color(0000FF) では反映されない。
頭に 0xFF を付ける必要がある(どの色でも)。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1