55 lines
1.8 KiB
Dart
55 lines
1.8 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:kettlebell_tracker/theme/app_theme.dart';
|
|
|
|
class HomeScreen extends StatelessWidget {
|
|
const HomeScreen({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final theme = Theme.of(context);
|
|
return Scaffold(
|
|
appBar: AppBar(
|
|
title: const Text('Giant Programm Tracker'),
|
|
leading: const Icon(
|
|
Icons.fitness_center,
|
|
color: AppTheme.oneDarkPrimary,
|
|
),
|
|
),
|
|
body: Center(
|
|
child: SingleChildScrollView(
|
|
padding: const EdgeInsets.all(24.0),
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
const Text(
|
|
"Willkommen beim Giant Programm Tracker!",
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.bold,
|
|
color: AppTheme.oneDarkPrimary,
|
|
),
|
|
),
|
|
const SizedBox(height: 16),
|
|
const Text(
|
|
"Verwalte deine Kettlebell-Trainings effizient.",
|
|
textAlign: TextAlign.center,
|
|
style: TextStyle(fontSize: 16, color: AppTheme.oneDarkText),
|
|
),
|
|
const SizedBox(height: 32),
|
|
Icon(
|
|
Icons.fitness_center,
|
|
size: 150,
|
|
color: AppTheme.oneDarkText.withOpacity(0.5),
|
|
),
|
|
const SizedBox(height: 32),
|
|
// The main navigation is the BottomNavigationBar now.
|
|
// Buttons could be added here for quick access if desired.
|
|
],
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|