ToastCard constructor

const ToastCard({
  1. Key? key,
  2. required Widget title,
  3. Widget? subtitle,
  4. Widget? leading,
  5. Color? color,
  6. Color? shadowColor,
  7. Widget? trailing,
  8. dynamic onTap()?,
})

Implementation

const ToastCard(
    {super.key,
    required this.title,
    this.subtitle,
    this.leading,
    this.color,
    this.shadowColor,
    this.trailing,
    this.onTap});