Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVV Render overflowed 40 px #13

Closed
malopezr7 opened this issue May 19, 2020 · 4 comments · Fixed by #24
Closed

CVV Render overflowed 40 px #13

malopezr7 opened this issue May 19, 2020 · 4 comments · Fixed by #24

Comments

@malopezr7
Copy link

to solve this just edit the file card_back_layout.dart and modify the return with this.

return Column(
  mainAxisAlignment: MainAxisAlignment.start,
  crossAxisAlignment: CrossAxisAlignment.start,
  children: <Widget>[
    SizedBox(
      height: 30,
    ),
    Expanded(
      child: Container(
        color: Colors.black,
        height: 50,
      ),
    ),
    SizedBox(
      height: 20,
    ),
    Row(
      mainAxisAlignment: MainAxisAlignment.start,
      crossAxisAlignment: CrossAxisAlignment.start,
      children: <Widget>[
        Expanded(
          child: Container(
            color: Colors.grey,
            height: 50,
          ),
          flex: 3,
        ),
        Expanded(
            flex: 1,
            child: Center(
              child: Text(
                cvv.toString(),
                style: TextStyle(
                    fontSize: 21,
                    fontWeight: FontWeight.w500,
                    color: Colors.black
                ),
              ),
            )
        ),
      ],
    ),

    SizedBox(
      height: 40,
    ),
  ],
);

it is responsive, please apply y the next update.

regards

@iamvivekkaushik
Copy link
Owner

Hi @malopezr7, thanks for pointing it out. I'll update it in the next version.

@marianoarga
Copy link

friendly ping

1 similar comment
@razerduy
Copy link

friendly ping

@iamvivekkaushik
Copy link
Owner

So, sorry guys. I have ton of work on hand that I need to finish. Will try to fix it this week.

trezm added a commit to trezm/AwesomeCard that referenced this issue Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants