RichText(
text: TextSpan(
text: "登录代表同意",
style: TextStyle(
color: Styles.rgb_color_666,
fontSize: Styles.textsize_13),
children: [
TextSpan(
text: "《***用户协议》",
style: TextStyle(
color: Styles.rgb_color_FFF36E22,
fontSize: Styles.textsize_13,
),
recognizer: TapGestureRecognizer()
..onTap = () {}),
TextSpan(
text: "和 ",
style: TextStyle(
color: Styles.rgb_color_666,
fontSize: Styles.textsize_13)),
TextSpan(
text: "《隐私政策》",
style: TextStyle(
color: Styles.rgb_color_FFF36E22,
fontSize: Styles.textsize_13),
recognizer: TapGestureRecognizer()
..onTap = () {}),
]),
)
原文地址:https://www.cnblogs.com/sundaysme/p/12598990.html
时间: 2024-11-02 21:56:50