textBubble method

  1. @override
Widget textBubble(
  1. AppModel app,
  2. BuildContext context, {
  3. bool isSender = true,
  4. required String text,
  5. Widget? button,
  6. Widget? widget,
  7. String? time,
  8. bool tail = true,
  9. bool sent = false,
  10. bool delivered = false,
  11. 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,
  );
}