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: [ Column( spacing: 2, crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'AUFGABENVERWALTUNG', style: TextStyle( fontSize: 13, fontWeight: FontWeight.w700, letterSpacing: 1.56, height: 20 / 13, color: Color(0xFF5EEAD4), ), ), Text( 'Team-Board / Sprint 7', style: TextStyle( fontSize: 10, height: 1.5, color: Color(0xFF2D7A7A), ), ), ], ), Row( spacing: 8, mainAxisSize: MainAxisSize.min, children: [ Text( 'Angemeldet als', style: TextStyle( fontSize: 11, height: 17 / 11, color: Color(0xFF64748B), ), ), AvatarBadge(initials: 'AB', color: Color(0xFF3B82F6), size: 24), Text( 'Anna Becker', style: TextStyle( fontSize: 11, fontWeight: FontWeight.w600, height: 17 / 11, color: Color(0xFFE2E8F0), ), ), ], ), ], ), ), Container(height: 1, color: const Color(0xFF1A4A4A)), ], ), ); } }