ToastCard constructor

const ToastCard(
  1. Widget child,
  2. Duration duration, {
  3. Key? key,
  4. int fadeDuration = 500,
})

Implementation

const ToastCard(this.child, this.duration,
    {Key? key, this.fadeDuration = 500})
    : super(key: key);