PrivacyGate constructor

const PrivacyGate({
  1. Key? key,
  2. required Widget child,
  3. PrivacyAgreementConfig config = const PrivacyAgreementConfig(),
  4. Future<void> onAgreed()?,
  5. ThemeData? theme,
})

Implementation

const PrivacyGate({
  super.key,
  required this.child,
  this.config = const PrivacyAgreementConfig(),
  this.onAgreed,
  this.theme,
});