item_estate_header.dart 643 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 EstateItemHeader extends StatelessWidget {
  5. String? groupId;
  6. EstateItemHeader(this.groupId);
  7. @override
  8. Widget build(BuildContext context) {
  9. return Container(
  10. width: double.infinity,
  11. color: context.appColors.backgroundDark,
  12. child: MyTextView(
  13. groupId ?? "-",
  14. fontSize: 20,
  15. paddingTop: 18,
  16. paddingLeft: 15,
  17. paddingBottom: 18,
  18. isFontMedium: true,
  19. textColor: context.appColors.textBlack,
  20. ),
  21. );
  22. }
  23. }