INNER CODE UNIT · Dart
ToastificationType
payam-zahedi/toastification · lib/src/built_in/toastification_type.dart:37
class ToastificationType {
/// The unique identifier name for this toast type
final String name;
/// The color associated with this toast type
final Color color;
/// The icon to be displayed with this toast type
final IconData icon;
const ToastificationType._(this.name, this.color, this.icon);
/// Predefined information toast type with blue color scheme and info icon
static const info = ToastificationType._(
'info',
infoColor,
ToastificationIcons.info_circle,
);