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