NCard constructor
const
NCard({
- Key? key,
- required Image image,
- String? title,
- String? desc,
- String? tag,
- int? num,
- double? price,
- double? originPrice,
- bool centered = false,
- String currency = "¥",
- dynamic onClick()?,
- Widget? customTitle,
- Widget? customDesc,
- Widget? customNum,
- Widget? customPrice,
- Widget? customOriginPrice,
- Widget? customThumb,
- Widget? customTag,
- Widget? customTags,
Implementation
const NCard(
{Key? key,
required this.image,
this.title,
this.desc,
this.tag,
this.num,
this.price,
this.originPrice,
this.centered: false,
this.currency: "¥",
this.onClick,
this.customTitle,
this.customDesc,
this.customNum,
this.customPrice,
this.customOriginPrice,
this.customThumb,
this.customTag,
this.customTags,
this.customFooter})
: super(key: key);