UserPrivacyAlert constructor

const UserPrivacyAlert({
  1. Key? key,
  2. required String name,
  3. GestureTapCallback? onUserAgreementTap,
  4. GestureTapCallback? onPrivacyPolicyTap,
  5. required GestureTapCallback? onConsentTap,
  6. ModalWindowsOptions? options,
  7. String agree = '同意',
  8. String exit = '暂不使用',
  9. String title = '个人隐私保护指引',
  10. Widget? content,
})

Implementation

const UserPrivacyAlert(
    {super.key,
    required this.name,
    this.onUserAgreementTap,
    this.onPrivacyPolicyTap,
    required this.onConsentTap,
    this.options,
    this.agree = '同意',
    this.exit = '暂不使用',
    this.title = '个人隐私保护指引',
    this.content});