getAccentColor function
getAccentColor is a helper function to get the accent color of the app.
If accent
is not null, it will return kAccentColor instead.
Implementation
Color getAccentColor({Color? accent}) {
return accent ?? kAccentColor;
}
getAccentColor is a helper function to get the accent color of the app.
If accent
is not null, it will return kAccentColor instead.
Color getAccentColor({Color? accent}) {
return accent ?? kAccentColor;
}