item_notification_header.dart 687 B

123456789101112131415161718192021222324252627
  1. import 'package:cs_resources/theme/app_colors_theme.dart';
  2. import 'package:flutter/material.dart';
  3. import 'package:widgets/my_text_view.dart';
  4. class NotificationItemHeader extends StatelessWidget {
  5. String? groupId;
  6. NotificationItemHeader(this.groupId);
  7. @override
  8. Widget build(BuildContext context) {
  9. return Container(
  10. width: double.infinity,
  11. color: context.appColors.backgroundDark,
  12. padding: const EdgeInsets.symmetric(horizontal: 14),
  13. child: MyTextView(
  14. groupId ?? "-",
  15. fontSize: 14,
  16. paddingTop: 8,
  17. paddingBottom: 8,
  18. isFontMedium: true,
  19. textColor: context.appColors.textBlack,
  20. ),
  21. );
  22. }
  23. }