【Beginner's Guide to Flutter】How to Decorate Text by Changing TextStyle

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 4

  • @huac-hoshiko
    @huac-hoshiko 4 года назад +4

    いつも動画ありがとうございます!
    heightの読み方はハイトです!w

  • @veterinaryjp
    @veterinaryjp 4 года назад

    Columnなどの構造的なもので多少混乱しましたが、なんとか。。ここまでやりました

  • @parthkabariya6505
    @parthkabariya6505 4 года назад

    Hi there.. Nice video. thanks for the video. By the way I have one question about Text() hi, I am having issues with emoji. when i create Text('CHAT BOOK \ud83d\ude42') it show emoji but when this string come from server through API it's showing as it is no emoji, can anyone help me, thanks in advance

    • @masahirokomori8001
      @masahirokomori8001 4 года назад

      I guess that's because your database returns the string with extra backslashes, like "\\ud83d\\ude42". If the output of the string has single backslashes, that means the fetched string actually has double ones. Try the code below.
      String emojiCode = jsonDecode('"${fetchedString.replaceAll(r'\\', r'\')}"');
      You might have already solved the problem. If not, hope this helps.