PhotoCardLayoutWidget constructor

PhotoCardLayoutWidget({
  1. required PhotoCard photoCard,
  2. required double cardHeight,
  3. required double cardWidth,
  4. required bool hideCenterButton,
  5. required bool hideTitleText,
  6. required bool hideDescriptionText,
  7. required BoxFit imageScaleType,
  8. required Color? imageBackgroundColor,
  9. required bool isLeftOverlayShown,
  10. required bool isCenterOverlayShown,
  11. required bool isRightOverlayShown,
  12. required int photoIndex,
  13. IconData? leftButtonIcon,
  14. IconData? centerButtonIcon,
  15. IconData? rightButtonIcon,
  16. Color? leftButtonIconColor,
  17. Color? leftButtonBackgroundColor,
  18. Color? centerButtonIconColor,
  19. Color? centerButtonBackgroundColor,
  20. Color? rightButtonIconColor,
  21. Color? rightButtonBackgroundColor,
  22. Function? leftButtonAction,
  23. Function? centerButtonAction,
  24. Function? rightButtonAction,
  25. Function? onCardTap,
  26. Key? key,
})

Implementation

PhotoCardLayoutWidget({
  required this.photoCard,
  required this.cardHeight,
  required this.cardWidth,
  required this.hideCenterButton,
  required this.hideTitleText,
  required this.hideDescriptionText,
  required this.imageScaleType,
  required this.imageBackgroundColor,
  required this.isLeftOverlayShown,
  required this.isCenterOverlayShown,
  required this.isRightOverlayShown,
  required this.photoIndex,
  this.leftButtonIcon,
  this.centerButtonIcon,
  this.rightButtonIcon,
  this.leftButtonIconColor,
  this.leftButtonBackgroundColor,
  this.centerButtonIconColor,
  this.centerButtonBackgroundColor,
  this.rightButtonIconColor,
  this.rightButtonBackgroundColor,
  this.leftButtonAction,
  this.centerButtonAction,
  this.rightButtonAction,
  this.onCardTap,
  Key? key,
}) : super(key: key);