ToastHandler constructor

ToastHandler({
  1. ToastHandlerGravity gravity = ToastHandlerGravity.bottom,
  2. ToastHandlerLength length = ToastHandlerLength.long,
  3. Color backgroundColor = Colors.black87,
  4. Color textColor = Colors.white,
  5. double textSize = 12,
  6. String? customMessage,
  7. bool handleWhenRejected = false,
})

Implementation

ToastHandler({
  this.gravity = ToastHandlerGravity.bottom,
  this.length = ToastHandlerLength.long,
  this.backgroundColor = Colors.black87,
  this.textColor = Colors.white,
  this.textSize = 12,
  this.customMessage,
  this.handleWhenRejected = false,
});