iamvivekkaushik/AwesomeCard

BackgroundCard Color

Closed this issue · 4 comments

Is there any way that we can change the BackgroundCard Color?
For example red or blue so we can make it approach to the user's card.

Thank You

Oh yeah, totally. Just check the constructor here.

You just need to pass the color to the frontBackground and backBackground argument depending on which side color you are trying to change.

but when I tried and the unique colors available are white and black

Okay, I could made it by adding a Container(color: Colors.whateverColor) on the frontBackground or the backBackground

Yeah, just pass this as your frontBackground or the backBackground argument.

 Container(
    width: double.maxFinite,
    height: double.maxFinite,
    color: Colors.whateverColor,
  );