You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudsolutions-atoms/lib/views/widgets/item_views/info_date_widget.dart

14 lines
546 B
Dart

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)));
}