CustomMessageAlert constructor
const
CustomMessageAlert({
- Key? key,
- MessageType? type,
- bool showIcon = false,
- String title = '',
- String? subtitle,
- String? message,
- TextAlign? textAlign = TextAlign.start,
- Axis direction = Axis.horizontal,
- EdgeInsets? margin = const EdgeInsets.all(16),
- EdgeInsets? padding = const EdgeInsets.all(16),
- BoxBorder? border,
- BorderRadius? borderRadius,
- TextStyle? titleStyle,
- TextStyle? subtitleStyle,
- TextStyle? messageStyle,
Implementation
const CustomMessageAlert({
super.key,
this.type,
this.showIcon = false,
super.title = '',
super.subtitle,
super.message,
super.textAlign = TextAlign.start,
super.direction = Axis.horizontal,
super.margin,
super.padding = const EdgeInsets.all(16),
super.border,
super.borderRadius,
super.titleStyle,
super.subtitleStyle,
super.messageStyle,
});