Created
December 6, 2019 13:16
-
-
Save guilhermecarvalhocarneiro/a073b9db0af110067ecd79c273cfd825 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
return Scaffold( | |
body: Stack( | |
children: <Widget>[ | |
CustomScrollView( | |
slivers: <Widget>[ | |
SliverAppBar( | |
pinned: true, | |
leading: Container(), | |
expandedHeight: 300.0, | |
flexibleSpace: FlexibleSpaceBar( | |
background: Column( | |
children: <Widget>[ | |
buildProfileLine(), | |
buildGroupLine(), | |
], | |
), | |
), | |
bottom: PreferredSize( | |
preferredSize: const Size.fromHeight(44.0), | |
child: buildButtons(), | |
), | |
), | |
SliverList( | |
delegate: SliverChildListDelegate([ | |
buildListView() | |
]), | |
) | |
], | |
), | |
buildEmergencyButton() | |
], | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment