textBubble method
Widget
textBubble(
- AppModel app,
- BuildContext context, {
- bool isSender = true,
- required String text,
- Widget? button,
- Widget? widget,
- String? time,
- bool tail = true,
- bool sent = false,
- bool delivered = false,
- bool seen = false,
override
Implementation
@override
Widget textBubble(AppModel app, BuildContext context,
{bool isSender = true,
required String text,
Widget? button,
Widget? widget,
String? time,
bool tail = true,
bool sent = false,
bool delivered = false,
bool seen = false}) {
return TextBubble1(
isSender: isSender,
text: text,
time: time,
tail: tail,
color: RgbHelper.color(
rgbo: _monaStyle.monaStyleAttributesModel.textBubbleBackgroundColor),
sent: sent,
widget: widget,
delivered: delivered,
seen: seen,
textStyle:
_monaStyle.frontEndStyle().textStyleStyle().styleText(app, context)!,
timeTextStyle: _monaStyle
.frontEndStyle()
.textStyleStyle()
.styleSmallText(app, context)!,
button: button,
);
}