accent property
Color
get
accent
Implementation
Color get accent =>
(blue / 2 >= 255 / 2 || red / 2 >= 255 / 2 || green / 2 >= 255 / 2)
? Colors.black
: Colors.white;
Color get accent =>
(blue / 2 >= 255 / 2 || red / 2 >= 255 / 2 || green / 2 >= 255 / 2)
? Colors.black
: Colors.white;