flutter 实现用户协议和隐私政策

登录页面的用户协议和隐私政策
RichText(
              text: TextSpan(children: [
                TextSpan(
                  text:
                      'By registering or logging in to an account,you agree to our ',
                  style:
                      AppTextStyles.body2_12_Regular.color_font_color_tertiary,
                ),
                TextSpan(
                    text: 'Terms & Conditions',
                    style: AppTextStyles.body2_12_Regular.color_primary_color1,
                    recognizer: TapGestureRecognizer()
                      ..onTap = () {
                        // 查看 服务条款
                      }),
                TextSpan(
                  text: ' and ',
                  style:
                      AppTextStyles.body2_12_Regular.color_font_color_tertiary,
                ),
                TextSpan(
                    text: 'Privacy Statement.',
                    style: AppTextStyles.body2_12_Regular.color_primary_color1,
                    recognizer: TapGestureRecognizer()
                      ..onTap = () {
                        // 查看 服务条款
                      }),
              ]),
            ),
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容