import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:kasy_kit/core/theme/theme.dart';

class PremiumFeature extends StatelessWidget {
  final String text;

  const PremiumFeature({
    super.key,
    required this.text,
  });

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.only(top: KasySpacing.sm),
      child: Row(
        children: [
          Icon(
            KasyIcons.check,
            color: context.colors.onPrimary,
            size: 24,
          ),
          const SizedBox(width: KasySpacing.md),
          Expanded(
            child: Text(
              text,
              style: GoogleFonts.albertSans(
                fontSize: 16,
                fontWeight: FontWeight.w500,
                color: context.colors.onPrimary,
              ),
            ),
          ),
        ],
      ),
    );
  }
}
