Last active
February 5, 2020 07:03
-
-
Save kitoko552/7712a8b3a67734ed3ce1760f5ba9ea7b 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
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