Custom Color
in Material Design Rule we should define any color that used in app. For All project you can customize your own color by editing lib/data/my_color.dart
Please don't change "0xFF" from that color value, change only last six characters
class MyColors {
. . .
static const Color primary = Color(0xFF4DB151);
static const Color primaryDark = Color(0xFF429E45);
static const Color primaryLight = Color(0xFF5DBA60);
static const Color accent = Color(0xFFFFDE26);
static const Color accentDark = Color(0xFFF2D21D);
static const Color accentLight = Color(0xFFFFE552);
static const Color white = Color(0xFFFFFFFF);
. . .
}
Last updated
Was this helpful?