ContactItem constructor

const ContactItem({
  1. Key? key,
  2. required ProfileDetails item,
  3. dynamic onAvatarClick()?,
  4. String spanTxt = "",
  5. bool isCheckBoxVisible = false,
  6. required bool checkValue,
  7. required dynamic onCheckBoxChange(
    1. bool?
    ),
  8. dynamic onListItemPressed()?,
})

Implementation

const ContactItem({
  super.key,
  required this.item,
  this.onAvatarClick,
  this.spanTxt = "",
  this.isCheckBoxVisible = false,
  required this.checkValue,
  required this.onCheckBoxChange,
  this.onListItemPressed,
});