3 tab buttons!

This commit is contained in:
2024-09-04 18:48:19 -04:00
parent 1d543cbb54
commit c50057c0e7

View File

@@ -7,10 +7,17 @@ class HomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
bottomNavigationBar: BottomAppBar(
color: Theme.of(context).colorScheme.inversePrimary,
),
);
return DefaultTabController(
length: 3,
child: Scaffold(
bottomNavigationBar: BottomAppBar(
color: Theme.of(context).colorScheme.inversePrimary,
child: TabBar(tabs: [
Placeholder(),
Placeholder(),
Placeholder(),
]),
),
));
}
}