EasyAlert constructor
const
EasyAlert({
- Key? key,
- required String message,
- String? description,
- EasyThemeType? type = EasyThemeType.primary,
- VoidCallback? onClose,
- bool? closable = false,
- bool? showIcon = false,
- IconData? icon,
Implementation
const EasyAlert({
Key? key,
required this.message,
this.description,
this.type = EasyThemeType.primary,
this.onClose,
this.closable = false,
this.showIcon = false,
this.icon,
}) : super(key: key);