CustomMessageAlert constructor

const CustomMessageAlert({
  1. Key? key,
  2. MessageType? type,
  3. bool showIcon = false,
  4. String title = '',
  5. String? subtitle,
  6. String? message,
  7. TextAlign? textAlign = TextAlign.start,
  8. Axis direction = Axis.horizontal,
  9. EdgeInsets? margin = const EdgeInsets.all(16),
  10. EdgeInsets? padding = const EdgeInsets.all(16),
  11. BoxBorder? border,
  12. BorderRadius? borderRadius,
  13. TextStyle? titleStyle,
  14. TextStyle? subtitleStyle,
  15. 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,
});