import 'package:flutter/material.dart';

/// Widget pour l'en-tête d'une section de demandes.
class RequestsSectionHeader extends StatelessWidget {
  const RequestsSectionHeader({
    required this.title,
    required this.theme,
    super.key,
  });

  final String title;
  final ThemeData theme;

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.fromLTRB(16, 16, 16, 4),
      child: Text(
        title,
        style: theme.textTheme.titleLarge?.copyWith(
          fontWeight: FontWeight.bold,
          letterSpacing: 0.5,
        ),
      ),
    );
  }
}

