33 lines
821 B
Dart
33 lines
821 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class HomePage extends StatelessWidget {
|
|
const HomePage({super.key, required this.title});
|
|
|
|
final String title;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return DefaultTabController(
|
|
length: 3,
|
|
child: Scaffold(
|
|
bottomNavigationBar: BottomAppBar(
|
|
color: Theme.of(context).colorScheme.inversePrimary,
|
|
child: const TabBar(tabs: [
|
|
Tab(
|
|
icon: Icon(Icons.play_arrow),
|
|
text: "Listen",
|
|
),
|
|
Tab(
|
|
icon: Icon(Icons.web_asset),
|
|
text: "Website",
|
|
),
|
|
Tab(
|
|
icon: Icon(Icons.language),
|
|
text: "Links",
|
|
)
|
|
]),
|
|
),
|
|
));
|
|
}
|
|
}
|