81 lines
2.6 KiB
Dart
81 lines
2.6 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'avatar_badge.dart';
|
|
|
|
class AppHeader extends StatelessWidget {
|
|
const AppHeader({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
color: const Color(0xFF0D2B2B),
|
|
child: Column(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 12),
|
|
child: Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: const [
|
|
Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
Text(
|
|
'AUFGABENVERWALTUNG',
|
|
style: TextStyle(
|
|
fontFamily: 'Roboto',
|
|
fontSize: 13,
|
|
fontWeight: FontWeight.w700,
|
|
height: 1.5,
|
|
letterSpacing: 1.56,
|
|
color: Color(0xFF5EEAD4),
|
|
),
|
|
),
|
|
SizedBox(height: 2),
|
|
Text(
|
|
'Team-Board / Sprint 7',
|
|
style: TextStyle(
|
|
fontFamily: 'Roboto',
|
|
fontSize: 10,
|
|
height: 1.5,
|
|
color: Color(0xFF2D7A7A),
|
|
),
|
|
),
|
|
],
|
|
), // Container: title + breadcrumb
|
|
Row(
|
|
mainAxisSize: MainAxisSize.min,
|
|
children: [
|
|
Text(
|
|
'Angemeldet als',
|
|
style: TextStyle(
|
|
fontFamily: 'Roboto',
|
|
fontSize: 11,
|
|
height: 1.5,
|
|
color: Color(0xFF64748B),
|
|
),
|
|
),
|
|
SizedBox(width: 8),
|
|
AvatarBadge(initials: 'AB', color: Color(0xFF3B82F6)),
|
|
SizedBox(width: 8),
|
|
Text(
|
|
'Anna Becker',
|
|
style: TextStyle(
|
|
fontSize: 11,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.5,
|
|
color: Color(0xFFE2E8F0),
|
|
),
|
|
),
|
|
],
|
|
), // Container: Angemeldet als + avatar + name
|
|
],
|
|
),
|
|
),
|
|
Container(height: 1, color: const Color(0xFF1A4A4A)),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|