success method

ToastItem success()

Implementation

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