VFlag constructor
const
VFlag({
- Key? key,
- FlagState flagState = FlagState.informational,
- VoidCallback? onClosePressed,
- bool hasTitle = false,
- String title = "",
- bool hasAction = false,
- String action = "Action",
- VoidCallback? onActionPressed,
- bool hasLink = false,
- String link = "",
- VoidCallback? onLinkPressed,
- bool hasClose = false,
- required String description,
- VFlagStyle? style,
- VExt? vExt,
- EdgeInsetsGeometry? contentPadding,
- EdgeInsetsGeometry? flagIconPadding,
Implementation
const VFlag({
Key? key,
this.flagState = FlagState.informational,
this.onClosePressed,
this.hasTitle = false,
this.title = "",
this.hasAction = false,
this.action = "Action",
this.onActionPressed,
this.hasLink = false,
this.link = "",
this.onLinkPressed,
this.hasClose = false,
required this.description,
this.style,
this.vExt,
this.contentPadding,
this.flagIconPadding,
}) : super(key: key);