add/search/update

This commit is contained in:
2024-11-18 20:28:18 +01:00
parent 47cae0adb5
commit 21b5de3bb6
4 changed files with 174 additions and 88 deletions
-5
View File
@@ -29,17 +29,12 @@ class _TabsScreenState extends State<TabsScreen> {
@override
Widget build(BuildContext context) {
Widget activePage = const TVShowsScreen();
var activePageTitle = 'TV Shows';
if (_selectedPageIndex == 1) {
activePage = const MoviesScreen();
activePageTitle = 'Movies';
}
return Scaffold(
appBar: AppBar(
title: Text(activePageTitle),
),
body: activePage,
bottomNavigationBar: BottomNavigationBar(
onTap: _selectPage,