MemberCard constructor

const MemberCard({
  1. Key? key,
  2. required IndividualModel individual,
  3. required String name,
  4. String? gender,
  5. int? years,
  6. bool isHead = false,
  7. int? months,
  8. required RegistrationDeliveryLocalization localizations,
  9. required bool isDelivered,
  10. required VoidCallback setAsHeadAction,
  11. required VoidCallback editMemberAction,
  12. required VoidCallback deleteMemberAction,
  13. List<ProjectBeneficiaryModel>? projectBeneficiaries,
  14. List<TaskModel>? tasks,
  15. bool isNotEligible = false,
  16. String? projectBeneficiaryClientReferenceId,
  17. bool isBeneficiaryRefused = false,
  18. bool isBeneficiaryReferred = false,
  19. List<SideEffectModel>? sideEffects,
})

Implementation

const MemberCard({
  super.key,
  required this.individual,
  required this.name,
  this.gender,
  this.years,
  this.isHead = false,
  this.months,
  required this.localizations,
  required this.isDelivered,
  required this.setAsHeadAction,
  required this.editMemberAction,
  required this.deleteMemberAction,
  this.projectBeneficiaries,
  this.tasks,
  this.isNotEligible = false,
  this.projectBeneficiaryClientReferenceId,
  this.isBeneficiaryRefused = false,
  this.isBeneficiaryReferred = false,
  this.sideEffects,
});