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 · Tier T4. ' 'Phase 0, ohne Verbands-Erhebung, ohne Juristen- oder ' 'Beirats-Validierung. Volle Hinweise unter „Recht".', style: t.labelSmall?.copyWith( color: ReclaimColors.tierT4, ), ), ), ], ), ); } }