BsAlert constructor
const
BsAlert({
- Key? key,
- BsVisibility visibility = BsVisibility.block,
- bool closeButton = false,
- Widget? heading,
- BsAlertStyle style = BsAlertStyle.primary,
- TextStyle? textStyle,
- TextStyle? headingTextStyle,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Widget? child,
- VoidCallback? onClose,
Construct BsAlert
Implementation
const BsAlert({
Key? key,
this.visibility = BsVisibility.block,
this.closeButton = false,
this.heading,
this.style = BsAlertStyle.primary,
this.textStyle,
this.headingTextStyle,
this.margin,
this.padding,
this.child,
this.onClose,
}) : super(key: key);