Toast constructor

const Toast(
  1. String message, {
  2. Key? key,
  3. ToastOptions? options,
  4. ToastStyle? style,
  5. IconData? customIcon,
})

Implementation

const Toast(
  this.message, {
  Key? key,
  this.options,
  this.style,
  this.customIcon,
}) : super(key: key);