PhotoCardLayoutWidget constructor
PhotoCardLayoutWidget({
- required PhotoCard photoCard,
- required double cardHeight,
- required double cardWidth,
- required bool hideCenterButton,
- required bool hideTitleText,
- required bool hideDescriptionText,
- required BoxFit imageScaleType,
- required Color? imageBackgroundColor,
- required bool isLeftOverlayShown,
- required bool isCenterOverlayShown,
- required bool isRightOverlayShown,
- required int photoIndex,
- IconData? leftButtonIcon,
- IconData? centerButtonIcon,
- IconData? rightButtonIcon,
- Color? leftButtonIconColor,
- Color? leftButtonBackgroundColor,
- Color? centerButtonIconColor,
- Color? centerButtonBackgroundColor,
- Color? rightButtonIconColor,
- Color? rightButtonBackgroundColor,
- Function? leftButtonAction,
- Function? centerButtonAction,
- Function? rightButtonAction,
- Function? onCardTap,
- 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);