3 tab buttons!
This commit is contained in:
@@ -7,10 +7,17 @@ class HomePage extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
return DefaultTabController(
|
||||
length: 3,
|
||||
child: Scaffold(
|
||||
bottomNavigationBar: BottomAppBar(
|
||||
color: Theme.of(context).colorScheme.inversePrimary,
|
||||
child: TabBar(tabs: [
|
||||
Placeholder(),
|
||||
Placeholder(),
|
||||
Placeholder(),
|
||||
]),
|
||||
),
|
||||
);
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user