How to control size of card widget in staggered grid list in flutter?

Solution for How to control size of card widget in staggered grid list in flutter?
is Given Below:

I am using a Staggered Grid View widget for my flutter project, with cross axis set to 2. Within the staggered tile I have a card with text in it & that all works great. But sometimes the text within the card can get long and what I want to do is if card hits a certain height, be able to cut it off and show a shading in the bottom, similar to this card 2jGfQ.

I was looking for suggestion / example on how I should go about doing that?