warn method
Implementation
ToastItem warn() {
color = Colors.white;
fillColor = Colors.amber.withOpacityX(0.8);
if (!Toast.noIcon) icon = Icons.warning_amber_rounded;
return this;
}
ToastItem warn() {
color = Colors.white;
fillColor = Colors.amber.withOpacityX(0.8);
if (!Toast.noIcon) icon = Icons.warning_amber_rounded;
return this;
}