S360fDependantPersonCard constructor

const S360fDependantPersonCard({
  1. required String name,
  2. required int age,
  3. required int dependingYears,
  4. AvatarType avatarType = AvatarType.femaleChild,
  5. VoidCallback? onTap,
  6. bool isSelected = false,
  7. EdgeInsets? padding,
  8. double? width,
  9. double? height,
  10. Color? backgroundColor,
  11. Color? borderColor,
  12. BorderRadius? borderRadius,
  13. Key? key,
})

Implementation

const S360fDependantPersonCard({
  required this.name,
  required this.age,
  required this.dependingYears,
  this.avatarType = AvatarType.femaleChild,
  this.onTap,
  this.isSelected = false,
  this.padding,
  this.width,
  this.height,
  this.backgroundColor,
  this.borderColor,
  this.borderRadius,
  super.key,
});