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