VSectionMessage constructor
const
VSectionMessage({
- Key? key,
- SectionMessageState sectionMessageState = SectionMessageState.informational,
- bool hasClose = false,
- VoidCallback? onClosePressed,
- bool visible = false,
- String semanticsCloseLabel = close,
- String closeIconButton = closeIcon,
- bool hasTitle = false,
- String title = "Title",
- required String description,
- bool hasAction = false,
- String action = "Action",
- VoidCallback? onActionPressed,
- bool hasLink = false,
- String link = "",
- VoidCallback? onLinkPressed,
- MainAxisAlignment? buttonMainAxisAlignment,
- Widget? subtleSectionMessageIcon,
- Widget? infoSectionMessageIcon,
- Widget? warningSectionMessageIcon,
- Widget? errorSectionMessageIcon,
- Widget? successSectionMessageIcon,
- 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);