forked from eatvio/eatvio_app
24 lines
732 B
Dart
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),
|
|
),
|
|
);
|
|
}
|
|
}
|