import 'package:flutter/material.dart';
import 'package:test_sa/extensions/string_extensions.dart';
import 'package:test_sa/extensions/text_extensions.dart';
import 'package:test_sa/new_views/app_style/app_color.dart';

class InfoDateWidget extends StatelessWidget {
  final String date;

  InfoDateWidget(this.date, {Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Text(date.toServiceRequestCardFormat, textAlign: TextAlign.end, style: AppTextStyles.tinyFont2.copyWith(color: AppColor.text9Color(context)));
}
