floaty_chathead icon indicating copy to clipboard operation
floaty_chathead copied to clipboard

can't assign text to variable type string

Open takasungi opened this issue 4 years ago • 1 comments

i can't use txtMsg variable that type string. not error but not show any txt, i can log txtMsg after update body when openbubble it's blank.

  EachRow(columns: [
    EachColumn(
      text: FloatyHeadText(
          text: txtMsg,
          fontSize: 12,
          textColor: Colors.black87,
          fontWeight: FontWeight.bold),
      padding: FloatyHeadPadding.setSymmetricPadding(6, 8),
      decoration: FloatyHeadDecoration(
          startColor: Colors.black12, borderRadius: 25.0),
      margin: FloatyHeadMargin(top: 4),
    ),
  ]

takasungi avatar Feb 20 '21 05:02 takasungi

i can't use txtMsg variable that type string. not error but not show any txt, i can log txtMsg after update body when openbubble it's blank.

  EachRow(columns: [
    EachColumn(
      text: FloatyHeadText(
          text: txtMsg,
          fontSize: 12,
          textColor: Colors.black87,
          fontWeight: FontWeight.bold),
      padding: FloatyHeadPadding.setSymmetricPadding(6, 8),
      decoration: FloatyHeadDecoration(
          startColor: Colors.black12, borderRadius: 25.0),
      margin: FloatyHeadMargin(top: 4),
    ),
  ]

Hello Takasungi

Did you ever find a solution to this problem?

Chris-Benn avatar Aug 19 '21 22:08 Chris-Benn