defaultIcon method

Widget defaultIcon(
  1. VoToastType type
)

Implementation

Widget defaultIcon(VoToastType type) => switch (type) {
  VoToastType.error => errorIcon ?? Icon(Icons.error_outline),
  VoToastType.warning => warningIcon ?? Icon(Icons.warning_amber_outlined),
  VoToastType.success => successIcon ?? Icon(Icons.check_circle_outline),
  VoToastType.info => infoIcon ?? Icon(Icons.info_outline),
};