import 'package:flutter/material.dart'; import '../theme/reclaim_tokens.dart'; /// Permanent banner shown above all data screens in mock mode. /// Carries the political-defensibility caveat: this is demo data, /// not peer-reviewed, not Juristen-approved. class DemoBanner extends StatelessWidget { const DemoBanner({super.key}); @override Widget build(BuildContext context) { final t = Theme.of(context).textTheme; return Container( width: double.infinity, padding: const EdgeInsets.symmetric( horizontal: ReclaimSpace.lg, vertical: ReclaimSpace.sm, ), decoration: BoxDecoration( color: ReclaimColors.tierT4.withValues(alpha: 0.12), border: Border( bottom: BorderSide( color: ReclaimColors.tierT4.withValues(alpha: 0.55), ), ), ), child: Row( children: [ const Icon(Icons.science_outlined, size: 18, color: ReclaimColors.tierT4), const SizedBox(width: ReclaimSpace.sm), Expanded( child: Text( 'Demo-Daten · KEINE Rechtsberatung. ' 'Alle Zahlen sind als T4 markiert (qualitatives Signal), ' 'bis NKR/Verbands-Pipeline + Juristen-Approval laufen. ' 'Erläuterung der Stufen unter „Methodik", ' 'Disclaimer unter „Recht".', style: t.labelSmall?.copyWith( color: ReclaimColors.tierT4, ), ), ), ], ), ); } }