-
-
Save TechieBlossom/237bafe7b043c1454dfe1597db1f8a70 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
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Stack( | |
//1 | |
fit: StackFit.expand, | |
children: <Widget>[ | |
//2 | |
FractionallySizedBox( | |
//3 | |
alignment: Alignment.topCenter, | |
//4 | |
heightFactor: 0.6, | |
// TODO: Add MovieCarouselWidget here in child | |
child: Placeholder(color: Colors.grey), | |
), | |
FractionallySizedBox( | |
//5 | |
alignment: Alignment.bottomCenter, | |
//6 | |
heightFactor: 0.4, | |
//7 | |
child: Placeholder(color: Colors.white), | |
), | |
], | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment