PrivacyBodyConfig constructor

const PrivacyBodyConfig({
  1. double? minHeight,
  2. double? maxHeight,
  3. TextStyle? normalTextStyle,
  4. TextStyle? highlightTextStyle,
  5. List<String> contentParagraphs = const ['感谢您信任并使用我们的产品。', '当您使用本APP时,请仔细务必仔细阅读、充分理解用户协议和隐私政策各条款,包括但不限于用户注意事项,用户行为规范以及为向您提供服务而收集、使用、存储您个人信息的情况。'],
  6. String userAgreementName = '《用户协议》',
  7. String privacyPolicyName = '《隐私政策》',
  8. String userAgreementUrl = 'https://example.com/agreement',
  9. String privacyPolicyUrl = 'https://example.com/privacy',
})

Implementation

const PrivacyBodyConfig({
  this.minHeight,
  this.maxHeight,
  this.normalTextStyle,
  this.highlightTextStyle,
  this.contentParagraphs = const [
    '感谢您信任并使用我们的产品。',
    '当您使用本APP时,请仔细务必仔细阅读、充分理解用户协议和隐私政策各条款,包括但不限于用户注意事项,用户行为规范以及为向您提供服务而收集、使用、存储您个人信息的情况。',
  ],
  this.userAgreementName = '《用户协议》',
  this.privacyPolicyName = '《隐私政策》',
  this.userAgreementUrl = 'https://example.com/agreement',
  this.privacyPolicyUrl = 'https://example.com/privacy',
});