import 'package:aman_kassa_flutter/shared/app_colors.dart';
import 'package:flutter/material.dart';

class NoteText extends StatelessWidget {
  final String text;
  final TextAlign? textAlign;
  final Color? color;
  final double? fontSize;
  const NoteText(this.text, {this.textAlign, this.color, this.fontSize});

  @override
  Widget build(BuildContext context) {
    return Text(
      text,
      textAlign: textAlign,
      style: TextStyle(
        fontSize: fontSize ?? 12,
        fontWeight: FontWeight.normal,
        color: color ?? dayColor,
      ),
    );
  }
}
