flutter_tindercard
flutter_tindercard copied to clipboard
Expand the card in all the screen
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?
Try using a Hero Widget https://flutter.dev/docs/development/ui/animations/hero-animations
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??
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
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()
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.
Same problem here