Toast constructor

Toast({
  1. String? title,
  2. String? message,
  3. Widget? child,
  4. AlertVariant variant = AlertVariant.info,
  5. List<Widget> actions = const [],
  6. EdgeInsets? padding,
  7. EdgeInsets? margin,
  8. Key? key,
})

Implementation

Toast({
  this.title,
  this.message,
  this.child,
  this.variant = AlertVariant.info,
  this.actions = const [],
  this.padding,
  this.margin,
  super.key,
});