mirrored_repositories/crm_app/lib/core/components
import 'package:flutter/material.dart';
import 'package:kartal/kartal.dart';

class Subtitle1Copy extends StatelessWidget {
  const Subtitle1Copy({Key? key, required this.data, this.color}) : super(key: key);

  final String data;
  final Color? color;

  @override
  Widget build(BuildContext context) {
    return Text(
      data,
      style: context.textTheme.subtitle1!.copyWith(color: color),
    );
  }
}