GradientCard constructor

const GradientCard({
  1. Key? key,
  2. String? title,
  3. String? subtitle,
  4. Widget? leading,
  5. Widget? trailing,
  6. Widget? child,
  7. Gradient? gradient,
  8. VoidCallback? onTap,
  9. EdgeInsets? padding,
})

Implementation

const GradientCard({
  super.key,
  this.title,
  this.subtitle,
  this.leading,
  this.trailing,
  this.child,
  this.gradient,
  this.onTap,
  this.padding,
});