-
-
Save MarcinusX/74548d6d24b5fe0cf2e7e6665da38dc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class _SlidingCardsViewState extends State<SlidingCardsView> { | |
@override | |
Widget build(BuildContext context) { | |
return SizedBox( | |
height: MediaQuery.of(context).size.height * 0.55, //<-- set height of the card | |
child: SlidingCard( //<-- new widget | |
name: 'Shenzhen GLOBAL DESIGN AWARD 2018', | |
date: '4.20-30', | |
assetName: 'steve-johnson.jpeg', | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment