MemberItem constructor

const MemberItem({
  1. Key? key,
  2. required String name,
  3. required String image,
  4. required String status,
  5. bool? isAdmin,
  6. required dynamic onTap(),
  7. dynamic onChange(
    1. bool? value
    )?,
  8. required bool blocked,
  9. required bool unknown,
  10. ContactItemStyle itemStyle = const ContactItemStyle(),
  11. String searchTxt = "",
  12. bool isCheckBoxVisible = false,
  13. bool isChecked = false,
  14. bool isGroup = false,
})

Implementation

const MemberItem(
    {super.key,
    required this.name,
    required this.image,
    required this.status,
    this.isAdmin,
    required this.onTap,
    this.onChange,
    required this.blocked,
    required this.unknown,
    this.itemStyle = const ContactItemStyle(),
    this.searchTxt = "",
    this.isCheckBoxVisible = false,
    this.isChecked = false,
    this.isGroup = false});