ApplyPermissionDialog constructor

ApplyPermissionDialog({
  1. Key? key,
  2. required dynamic permissionType,
  3. required dynamic onAgreed,
  4. String? defaultIcon,
})

Implementation

ApplyPermissionDialog(
    {super.key,
    required permissionType,
    required onAgreed,
    this.defaultIcon}) {
  this.permissionType = permissionType;
  this.onAgreed = onAgreed;
}