Files
eatvio_app/lib/features/diary/presentation/widgets/comment_container.dart
2025-04-24 04:20:24 +07:00

24 lines
732 B
Dart

import 'package:eatvio_app/core/theme/custom_text_style.dart';
import 'package:eatvio_app/core/theme/theme_helper.dart';
import 'package:flutter/material.dart';
class CommentContainer extends StatelessWidget {
const CommentContainer({super.key, required this.comment});
final String comment;
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
width: double.infinity,
decoration: BoxDecoration(
color: appTheme.commentBg,
borderRadius: BorderRadius.circular(20),
),
child: Text(
comment,
style: TextStyles.textMMediumAuto.copyWith(color: appTheme.black),
),
);
}
}