import 'package:flutter/material.dart';

import 'theme.dart';

final class ExampleBadge extends StatelessWidget {
  const ExampleBadge({super.key});

  @override
  Widget build(BuildContext context) {
    final tokens = courtBlazerTokensOf(context);
    final theme = Theme.of(context);
    return Container(
      padding: const EdgeInsets.symmetric(horizontal: 7, vertical: 3),
      decoration: BoxDecoration(
        border: Border.all(color: tokens.border),
        borderRadius: BorderRadius.circular(5),
      ),
      child: Text(
        'Exemple',
        style: theme.textTheme.labelSmall?.copyWith(color: tokens.mutedText),
      ),
    );
  }
}
