Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilhermecarvalhocarneiro/a073b9db0af110067ecd79c273cfd825 to your computer and use it in GitHub Desktop.
Save guilhermecarvalhocarneiro/a073b9db0af110067ecd79c273cfd825 to your computer and use it in GitHub Desktop.
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