CUProCard constructor

const CUProCard(
  1. Widget title, {
  2. Key? key,
  3. Widget? subtitle,
  4. Widget? leading,
  5. Widget? trailing,
  6. double padding = CUWidget.padding,
  7. double outPadding = CUWidget.outPadding,
  8. VoidCallback? onTap,
  9. Color? color,
  10. String tip = '',
  11. BorderRadius? radius,
})

Implementation

const CUProCard(
  this.title, {
  final Key? key,
  this.subtitle,
  this.leading,
  this.trailing,
  this.padding = CUWidget.padding,
  this.outPadding = CUWidget.outPadding,
  this.onTap,
  this.color,
  this.tip = '',
  this.radius,
}) : super(key: key);