flutter_tindercard icon indicating copy to clipboard operation
flutter_tindercard copied to clipboard

Expand the card in all the screen

Open devsdm99 opened this issue 5 years ago • 6 comments

Hi, how can i expand the card for the whole screen, which sizes i should put in the max and min height also in width? i've tried a lot of things but i would like to show the picture in bigger.

How can i do that?

devsdm99 avatar Dec 08 '19 21:12 devsdm99

Try using a Hero Widget https://flutter.dev/docs/development/ui/animations/hero-animations

Elpiojo83 avatar Dec 16 '19 12:12 Elpiojo83

Try using a Hero Widget https://flutter.dev/docs/development/ui/animations/hero-animations

But in max-min / height - width what number i should put??

devsdm99 avatar Dec 17 '19 07:12 devsdm99

i use 90 of the screen for TindleCardSwipe and it take 90 of the scren.

Show as followings:

TinderSwapCard( cardController: controller, orientation: AmassOrientation.BOTTOM, totalNum: 10, stackNum: 5, swipeEdge: 8.0, maxWidth: MediaQuery.of(context).size.width * .90, maxHeight: MediaQuery.of(context).size.height * .85, minWidth: MediaQuery.of(context).size.width * 0.8, minHeight: MediaQuery.of(context).size.height * 0.7, ...................}

Thanks

sarbjeetromanadhaliwal avatar Dec 19 '19 12:12 sarbjeetromanadhaliwal

Same problem here, the card doesnt fit max height / width

EDIT: I solve the issue The problem was coming from the ancestor widget which was a SizedBox()

oncleguigs avatar Jan 29 '20 12:01 oncleguigs

Same problem here, the card doesnt fit max height / width

EDIT: I solve the issue The problem was coming from the ancestor widget which was a SizedBox()

Hi Could you please let me know how you solved the same.. I am stuck in the same issue.

rvats011990 avatar Jan 13 '21 13:01 rvats011990

Same problem here

Junesui avatar Aug 05 '22 06:08 Junesui