Created
April 11, 2019 16:34
-
-
Save felixblaschke/63161ec326a9f10517fae5949df1891f to your computer and use it in GitHub Desktop.
Fade-in UI Demo - Animated
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 FadeInUi extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return SingleChildScrollView( | |
child: Container( | |
padding: EdgeInsets.all(20.0), | |
child: Column( | |
children: <Widget>[ | |
FadeIn(1.0, HeaderPlaceholder()), | |
WhitespaceSeparator(), | |
Row( | |
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
children: <Widget>[ | |
FadeIn(2, CirclePlaceholder()), | |
FadeIn(2.33, CirclePlaceholder()), | |
FadeIn(2.66, CirclePlaceholder()) | |
], | |
), | |
WhitespaceSeparator(), | |
FadeIn(4, CardPlaceholder()), | |
FadeIn(4.5, CardPlaceholder()), | |
FadeIn(5, CardPlaceholder()), | |
FadeIn(5.5, CardPlaceholder()) | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment