ToastHandler constructor
ToastHandler({
- ToastHandlerGravity gravity = ToastHandlerGravity.bottom,
- ToastHandlerLength length = ToastHandlerLength.long,
- Color backgroundColor = Colors.black87,
- Color textColor = Colors.white,
- double textSize = 12,
- String? customMessage,
- 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,
});