NxPhotoCard constructor
const
NxPhotoCard({})
Creates a photo card widget.
imagePath
- Path to the asset image to displayelevation
- Card's elevation (shadow)child
- Custom widget to display instead of an imageheight
- Height of the cardwidth
- Width of the card
Implementation
const NxPhotoCard({
super.key,
this.imagePath,
this.elevation,
this.child,
this.height,
this.width,
});