ToastContent constructor

const ToastContent({
  1. Key? key,
  2. required String text,
  3. Color? color,
  4. ToastIconStyle? iconStyle,
  5. Axis? direction,
  6. double spacing = 6,
  7. double size = 18,
  8. int maxLines = 5,
  9. TextStyle? textStyle,
})

Implementation

const ToastContent({
  super.key,
  required this.text,
  this.color,
  this.iconStyle,
  this.direction,
  this.spacing = 6,
  this.size = 18,
  this.maxLines = 5,
  this.textStyle,
});