You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
781 B
Dart

import 'package:flutter/material.dart';
import 'monthly_view.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return DefaultTabController(
length: 3,
child: Scaffold(
appBar: AppBar(
title: const Text('Zeitschreibung'),
bottom: const TabBar(
tabs: [
Tab(text: 'Monat'),
Tab(text: 'Woche'),
Tab(text: 'Projekte'),
],
),
),
body: const TabBarView(
children: [
MonthlyView(),
Center(child: Text('Wochensicht (in Arbeit)')),
Center(child: Text('Projekte (in Arbeit)')),
],
),
),
);
}
}