iamvivekkaushik / AwesomeCard

A Flutter package to easily create a Credit Card in your application.
MIT License
151 stars 86 forks source link

Right overflowed by 4.0 pixels #10

Closed Mohammadhamza43 closed 2 years ago

Mohammadhamza43 commented 4 years ago

screenshot-1587505000838 getting this error how to resolve this. Here is the code return Scaffold( appBar: AppBar( backgroundColor: Colors.indigo, title: Text("Saved Cards"), ), body: Builder(builder: (BuildContext context) { return Column( // mainAxisAlignment: MainAxisAlignment.end, children: [ CreditCard( cardNumber: "5450 7879 4864 7854", cardExpiry: "10/25", cardHolderName: "Mohammad Hamza Gaya", cvv: "456", bankName: "Axis Bank", showBackSide: false, frontBackground: CardBackgrounds.black, backBackground: CardBackgrounds.black, showShadow: false, ), Padding( padding: const EdgeInsets.all(8.0), child: Container( color: Colors.indigo, child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Expanded( child: FlatButton( onPressed: () { Navigator.pushNamed(context, '/addNewCard'); }, child: Text( "Add New Card", style: TextStyle(fontSize: 18, color: Colors.white), )), ), ], )), ), ], ); }), );

iamvivekkaushik commented 4 years ago

Thanks, for this. I'll take a look at it.

Dharaneshvar commented 3 years ago

Is the issue resolved? I'm too facing the same issue

NKoroloff commented 3 years ago

I'm too facing the same issue

jacopofranza commented 3 years ago

+1

iamvivekkaushik commented 2 years ago

This is fixed in the latest version.