VSectionMessage constructor

const VSectionMessage({
  1. Key? key,
  2. SectionMessageState sectionMessageState = SectionMessageState.informational,
  3. bool hasClose = false,
  4. VoidCallback? onClosePressed,
  5. bool visible = false,
  6. String semanticsCloseLabel = close,
  7. String closeIconButton = closeIcon,
  8. bool hasTitle = false,
  9. String title = "Title",
  10. required String description,
  11. bool hasAction = false,
  12. String action = "Action",
  13. VoidCallback? onActionPressed,
  14. bool hasLink = false,
  15. String link = "",
  16. VoidCallback? onLinkPressed,
  17. MainAxisAlignment? buttonMainAxisAlignment,
  18. Widget? subtleSectionMessageIcon,
  19. Widget? infoSectionMessageIcon,
  20. Widget? warningSectionMessageIcon,
  21. Widget? errorSectionMessageIcon,
  22. Widget? successSectionMessageIcon,
  23. VSectionMessageStyle? style,
})

Implementation

const VSectionMessage({
  Key? key,
  this.sectionMessageState = SectionMessageState.informational,
  this.hasClose = false,
  this.onClosePressed,
  this.visible = false,
  this.semanticsCloseLabel = close,
  this.closeIconButton = closeIcon,
  this.hasTitle = false,
  this.title = "Title",
  required this.description,
  this.hasAction = false,
  this.action = "Action",
  this.onActionPressed,
  this.hasLink = false,
  this.link = "",
  this.onLinkPressed,
  this.buttonMainAxisAlignment,
  this.subtleSectionMessageIcon,
  this.infoSectionMessageIcon,
  this.warningSectionMessageIcon,
  this.errorSectionMessageIcon,
  this.successSectionMessageIcon,
  this.style,
}) : super(key: key);