How to use hex colours in Flutter?
For instance, Hipcall’s
default color is 025196
. To use this hex color in Flutter, prefix it with
0xFF
and then use it like this: Color(0xFF025196)
.
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Color(0xFF025196)),
useMaterial3: true,
),