BsAlert constructor

const BsAlert({
  1. Key? key,
  2. BsVisibility visibility = BsVisibility.block,
  3. bool closeButton = false,
  4. Widget? heading,
  5. BsAlertStyle style = BsAlertStyle.primary,
  6. TextStyle? textStyle,
  7. TextStyle? headingTextStyle,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. Widget? child,
  11. 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);