Вы можете использовать свойство bottom appbar
, как показано ниже. И он будет вложен в созданную вами нижнюю панель вкладок.
@override
Widget build(BuildContext context) {
return DefaultTabController(
length: 3,
child: Scaffold(
appBar: AppBar(
title: Text('you can put your search here'),
bottom: Tabbar(
tabs:<Widget>[
Text('tab1'),
Text('tab2')
]
)
),
body: new TabBarView(
controller: _tabController,
children: <Widget>[
Screen1(),
Screen2(),
],
),
),
);
}