Skip to content

Instantly share code, notes, and snippets.

@kitoko552
Last active February 5, 2020 07:03
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 kitoko552/7712a8b3a67734ed3ce1760f5ba9ea7b to your computer and use it in GitHub Desktop.
Save kitoko552/7712a8b3a67734ed3ce1760f5ba9ea7b to your computer and use it in GitHub Desktop.
Scaffold(
appBar: AppBar(title: const Text('Books'), elevation: 0.0), // ScaffoldのappBarに普通のAppBarをセット
body: DefaultTabController(
length: _tabs.length,
child: NestedScrollView(
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[
// SliverAppBarを削除
];
},
body: TabBarView(),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment