美文网首页
flutter 富文本

flutter 富文本

作者: neobuger | 来源:发表于2022-12-06 19:47 被阅读0次
                        Text.rich(
                              TextSpan(
                                  text: "",
                                  style: TextStyle(color: Colors.white,),
                                  children: [
                                    TextSpan(
                                      text: '证件即将过期,为保障您的业务不受影响,请',
                                      style: new TextStyle(
                                        color: Colors.white,
                                      ),
                                    ),
                                    TextSpan(
                                      text: '及时更新',
                                      style: new TextStyle(
                                        color: Colors.red,
                                      ),
                                    ),
                                    TextSpan(
                                      text: '。',
                                      style: new TextStyle(
                                        color: Colors.white,
                                      ),
                                    ),
                                  ]
                              )
                          ),

相关文章

网友评论

      本文标题:flutter 富文本

      本文链接:https://www.haomeiwen.com/subject/nluifdtx.html