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_header_widget.dart

20 lines
729 B
Dart

import 'package:flutter/material.dart';
import 'package:test_sa/extensions/text_extensions.dart';
import 'package:test_sa/new_views/app_style/app_color.dart';
class InfoHeaderWidget extends StatelessWidget {
final String label;
InfoHeaderWidget(this.label, {Key? key}) : super(key: key);
@override
Widget build(BuildContext context) => Text(label, style: AppTextStyles.bodyText.copyWith(color: AppColor.textStyleColor(context)));
}
class InfoHeader16Widget extends StatelessWidget {
final String label;
InfoHeader16Widget(this.label, {Key? key}) : super(key: key);
@override
Widget build(BuildContext context) => Text(label, style: AppTextStyles.heading6.copyWith(color: AppColor.textStyleColor(context)));
}